Re: sending e-mails
| From: | Manuel Lemos | Date: | Thu, 21 Oct 2004 21:41:44 +0000 |
| Subject: | Re: sending e-mails | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-36959@lists.php.net to get a copy of this message | ||
Hello,
On 10/21/2004 07:19 PM, Miguel Guirao wrote:
I have a script in PHP that should send an e-mail from a specific e-mail account, let's say <mailto:mguirao@siasa.com.mx> mguirao@siasa.com.mx to a customer's e-mail account, using the smtp_mail.inc class of PHP. But, Do I need to authenticate first in order to send the e-mail? If so, how?I don't know what is that smtp_mail.inc class but if you use this class that comes with a wrapper script named smtp_mail.php you can send messages via an SMTP server that requires authentication. Just configure the user name and password within that script. http://www.phpclasses.org/mimemessage You also need these classes. http://www.phpclasses.org/smtpclass http://www.phpclasses.org/sasl -- 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