|Nov 25, 2007, 04: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 = email@example.com ; 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, 02: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 Mail or Swift Mail and Google Apps||RoboCop001||Web Design and Development||8||Jun 22, 2010 03:10 PM|
|Yet another PHP mail complaint||Not Available||Web Design and Development||2||Jul 30, 2009 05:54 AM|
|PHP mail ... Not working to own domain||sfh||Web Design and Development||2||Mar 15, 2009 05:57 AM|
|Help with php mail funciton..||Quboid||Mac Programming||1||Sep 1, 2008 05:32 AM|
|PHP mail - working only slightly. SpamHaus?||toddburch||Web Design and Development||1||Aug 17, 2007 04:11 PM|
All times are GMT -5. The time now is 02:23 AM.