Re: Mail() on OS X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On 06/01/2003 10:37 PM, Tony S. Wu wrote:
hi all, i am trying to use mail() on Mac OS X 10.2 WITHOUT sendmail.
I have php.ini file in my usr/local/lib directory, with SMTP set to my desire smtp server.
But it just doesn't work.
Does anyone here know how to use mail() on OS X?

No, the mail() function only uses a SMTP server under Unix.


To solve your problem you may want to try this class for composing and sending messages that comes with a subclass for delivering via a SMTP server.

If you do not want to change much your scripts, it comes with a function named smtp_mail() that emulates the mail() function except that it send the messages to SMTP server of your choice:

http://www.phpclasses.org/mimemessage

To send via SMTP you also need this other class:

http://www.phpclasses.org/smtpclass



--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/


-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux