Hello,

On 08/16/2004 10:00 AM, Markus Mayer wrote:
- Does anyone know of a way to make PHP on *nix use an external smtp server without having to hack around in the source code of PHP?
- Has anyone got either ssmtp or esmtp working with PHP?

You may want to try this class that can be used to do precisely what you want. You can compose and send messages and have them delivered to an SMTP server of your choice.


If you do not want to change your scripts much, it comes with a wrapper function name smtp_mail() that can be used with exactly the same arguments as the mail() function, but it lets you send messages via an SMTP server. It can even let you configure authentication credentials if you are required to authenticate to relay on the SMTP server.

http://www.phpclasses.org/mimemessage

--

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