>From php.ini:

[mail function]
SMTP                    =       localhost                       ;for
win32 only
sendmail_from   =       [EMAIL PROTECTED]        ;for win32 only
;sendmail_path  =

Enter the name of your SMTP server on the first line, instead of
localhost. If you use mindspring, for example, you would put
mail.mindspring.com instead of localhost.

---John Holmes...

> -----Original Message-----
> From: Alex Shi [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 03, 2002 6:52 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] I want to use a mailer other than sendmail
> 
> Hi,
> 
> I am using PHP 4.0.4pl1 on RH 7.0. I know PHP uses sendmail
> as it's default mailer. However on my system sendmail has never
> been working well. So I am thinking that if it is possible to
> configure php to use my ISP's SMTP server instead of using
> the sendmail. Any one can help me out how to do this?
> 
> Thanks in advance!
> 
> Alex
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


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

Reply via email to