How to send mails using php mail function outside domain
i am a new member:D
can someone help me . :o
mail function works quite easily by simply specifying smtp server on windows. But wat about linux. i have configured sendmail but i am not sure if i have done it properly.
i am able to send mails to localhost but not to outside domains .
i searched the queue of mails and the output is
jBJIF7Kg005297 7 Mon Dec 19 23:45 <email@example.com>
(Deferred: 450 <firstname.lastname@example.org>: Sender address rejecte)
Total requests: 29
the mails remain in queue but they dont get forward.:(
besides the mail function works only if i comment out
; sendmail_path="... "
can someone help to send mails outside domain
There might be some reasons why this doesn't work. The first one is that host.pankaj.com does not exist in DNS. So either create the appropriate DNS record, or use another sender address.
|All times are GMT +2. The time now is 12:56.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.