mail() works on local but not remote - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: mail() works on local but not remote (/showthread.php?tid=15548) |
mail() works on local but not remote - El Forum - 02-07-2009 [eluser]bobbob[/eluser] I am having a problem getting mail() to send any emails from the remote server. Mamp is fine. Any ideas. Exact same code mail() works on local but not remote - El Forum - 02-07-2009 [eluser]elfkid[/eluser] check php.ini file mail() works on local but not remote - El Forum - 02-08-2009 [eluser]bobbob[/eluser] I have this as my path to sendmail: /usr/sbin/sendmail -t -i From my phpini. Does that mean anything to you? Not sure what is the problem. Still baffled. Just added a regular mail() function to my page with no headers and it went through. Something to do with the From and headers I think in the CI class??? mail() works on local but not remote - El Forum - 02-08-2009 [eluser]bobbob[/eluser] Solved. The remote server needs the email address to exist before it will send from it. |