Re: How to send mail with authentification?
| From: | Manuel Lemos | Date: | Mon, 04 Nov 2002 12:08:25 +0000 |
| Subject: | Re: How to send mail with authentification? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122659@lists.php.net to get a copy of this message | ||
Hello,
On 11/04/2002 09:54 AM, Martin Thoma wrote:
Hello! Our SMTP-Server has changed to authentification. Now we cannot send mails anymore using mail(). How can I set the password in mail?Not with mail(). You may want to try this class that comes with a wrapper function named smtp_mail() that emulates the mail() function. It has some variables for setting the autentication credentials: http://www.phpclasses.org/mimemessage You also need this: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos