Hello,

on 10/24/2005 10:57 PM Etienne Finet said the following:
Can anyone give me a clue on how to change this script so it can be used
with basic SMTP authentication?

SMTP authentication is not that simple. There are several authentication methods and you need to establish an authentication dialog according to what authentication methods your SMTP server supports.

You may want to take a look at this class that provides a wrapper function named smtp_mail similar to the one that you wrote, except that it also implements authentication as you need.

http://www.phpclasses.org/mimemessage

You also need this class for the SMTP dialog:

http://www.phpclasses.org/smtpclass

And this class for the authentication support:

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

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

Reply via email to