|Nov 25, 2007, 03:56 AM||#1|
I am currently trying to get Leopard's web sharing/PHP sending email, but I am not sure how to configure PHP's SMTP. Currently when I use PHP's mail() function it seems successful, but I don't actually receive the email.
The only reference for setting up the SMTP in the php.ini seems to be for Windows only:
[mail function] ; For Win32 only. ;SMTP = localhost ;smtp_port = 25 ; For Win32 only. ;sendmail_from = firstname.lastname@example.org ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path = /usr/sbin/sendmail -t -i
Thanks for any help.
|Nov 25, 2007, 01:03 PM||#2|
PHP's mail() function will return true or false if it was sent correctly (but not necessarily if it was received). You could at least check this value to make sure it's being sent.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|[php] - php problems os x mountain lion 10.8.2||cakas6933||OS X 10.8 Mountain Lion||4||Jun 10, 2014 08:08 AM|
|Need help on simple send mail php script||835153||Web Design and Development||4||Sep 5, 2013 10:55 PM|
|How does one effectively stop mail spam (real mail, not e-mail)?||someguy||Community Discussion||9||Dec 31, 2012 01:15 AM|
|Mail migration Live Mail to Apple Mail||lostngone||Mac Applications and Mac App Store||2||Aug 21, 2012 03:14 PM|
All times are GMT -5. The time now is 07:21 AM.