RE: mail() and passwords

From: Date: Wed, 10 Mar 2004 00:44:06 +0000
Subject: RE: mail() and passwords
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-179961@lists.php.net to get a copy of this message
I figured out how to do it. This is what I put in the php.ini file: SMTP = mydomains_smtp_server.com sendmail_from = my_webmaster_email@domain.com This worked great!!! It is sent right to a SMTP which is setup to authenticate all outgoing mails. ~WILL~ -----Original Message----- From: Manuel Lemos [mailto:mlemos@acm.org] Sent: Tuesday, March 09, 2004 7:29 PM To: Will Cc: php-general@lists.php.net Subject: Re: mail() and passwords Hello, On 03/09/2004 05:37 AM, Will wrote: > How do I modify the following to except a password for the SMTP server????? The mail function does not support authentication. You may want to try this class that comes with a wrapper function named smtp_mail(). It emulates the mail() function except that it lets you configure details like the authentication credentials. http://www.phpclasses.org/mimemessage You also need this: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html

« previous php.general (#179961) next »