HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Technical (http://www.howtoforge.com/forums/forumdisplay.php?f=8)
-   -   How to send mails using php mail function outside domain (http://www.howtoforge.com/forums/showthread.php?t=1737)

pankaj 19th December 2005 22:40

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
:mad:
jBJIF7Kg005297 7 Mon Dec 19 23:45 <root@host.pankaj.com>
(Deferred: 450 <root@host.pankaj.com>: Sender address rejecte)
<it02818@mnnit.ac.in>
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

falko 19th December 2005 23:09

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 05:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.