Warning: mail(): SMTP server response: 553 sorry, <postmaster@hsphere.cc> is in my badmail list (#5.7.1) in F:\somelocation.php on line 46
this is the error i recieved when i tried to use mail function without the sender's name.
how can i use mail function successfully?
i m using mail function and got this error
Moderator: General Moderators
-
mohit_garg
- Forum Newbie
- Posts: 3
- Joined: Sat Jul 23, 2005 8:47 pm
-
mohit_garg
- Forum Newbie
- Posts: 3
- Joined: Sat Jul 23, 2005 8:47 pm
this is the code
$to="saahil_garg@yahoo.com";
$subject="Request send to Administrator";
$message=" Blah Blah Blah Blah Blah Blah";
$flag=mail($to, $subject, $message);
$subject="Request send to Administrator";
$message=" Blah Blah Blah Blah Blah Blah";
$flag=mail($to, $subject, $message);
Re: i m using mail function and got this error
That badmail error is from qmail. Qmail will not let you send from "postmaster". Postmaster shouldn't be sending things. Thats bad.mohit_garg wrote:Warning: mail(): SMTP server response: 553 sorry, <postmaster@hsphere.cc> is in my badmail list (#5.7.1) in F:\somelocation.php on line 46
You didn't use the mail function without the sender's name. You failed to specify one, and qmail defaulted to postmaster. Postmaster isn't allowed to send mail.mohit_garg wrote:this is the error i recieved when i tried to use mail function without the sender's name.
Specify a valid mail user to send from.mohit_garg wrote:how can i use mail function successfully?