Re: Help with sending mail
| From: | Manuel Lemos | Date: | Fri, 14 Mar 2003 06:36:38 +0000 |
| Subject: | Re: Help with sending mail | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19001@lists.php.net to get a copy of this message | ||
Hello,
On 02/18/2003 04:21 PM, Freeman wrote:
my mail server doesnt want to keep working, is there a way to set the mail server within the script, this is for a unix machine.No, if PHP is running under Unix, the mail function will not use the SMTP server. In that case you may want to try this class that comes with a sub class for sending via SMTP in any platform. It also comes with a function named smtp_mail() that emulates the mail() function in case you need it: http://www.phpclasses.org/mimemessage You also need this other class to do the actual delivery via SMTP: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos