Re: Mail() on OS X
| From: | Tony Wu | Date: | Mon, 02 Jun 2003 02:55:29 +0000 |
| Subject: | Re: Mail() on OS X | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-28203@lists.php.net to get a copy of this message | ||
thanks for the link, unfortunately, i have trouble getting it to work.
and i can't find anything document for it.
some instructions, please?
also, someone told me before that it's impossible to use mail() on OS X without sendmail.
is it true?
On Sunday, June 01, 2003, at 07:05PM, Manuel Lemos <mlemos@acm.org> wrote:
>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/
>
>
>