I am trying to using a simple php email
This is working in my production server. But this is not working in my development server. I am not able to find what server configuration is missing
i am getting the error
Unable to send message to SMTP server. No recipients specified. ite. ready. in "filepath" on line 17
What is this ite?
$toemail="me@example.com";
$subject="subject line" ;
$content="conetent message";
$frmemail = "From:you@example.com" ;
mail( $toemail,$subject,$content,$frmemail ) ;
Can anyone suggest what configuration or php ini setting am missing
dev i access on a port .
i saw the exact same error here
http://www.phpfreaks.com/forums/index.php?topic=134654
http://forums.zend.com/viewtopic.php?t=5151&f=77#p23409
but what can be the some security settings blocking sending email from a different domain??
ZMAil
SMTP localhost
smtp_port 25
sendmail_from no value
Changing these settings on the server seems to have allowed the email to be sent successfully. The settings changed were:
Allow rely mail is the main one