Re: PHP SMTP Mailers

[email protected] (Auke van Slooten)
Newsgroups php.general
Message-ID <[email protected]>
King Coffee wrote:
> Hi,
> 
> I'm executing a third-parity standard PHP application on a Windows IIS 7 
> shared hosting server.
> 
> I need to convert, or use, a SMTP mailer service.  I found two SMTP PHP 
> scripts - I think may work.
> 
> The sourceforge.net PHPMailer project and the pear.php.net (Mail, 
> Net_SMTP) project.
> 
> Can any body please help me choose one and probably give a code snip of 
> useage?
> 
> Currently, I'm leaning forward the PHPMailer, with little to base the 
> decision on.

Hi,

I'd take a look at http://www.phpguru.org/static/smtp.html
It doesn't make the mistake of muddling the differnece between the 
message envelope and the message body, so you can set the recipients 
directly and different from the messages to/cc/bcc headers. It has a 
fairly sane design, based on the smtp protocol. And finally it uses 
exceptions in a sane way. Oh, and its a fairly small and straightforward 
piece of code, easy to include in any application.

There's one problem in it when using it for bulk-mail. If you add many 
recipients and one of them is incorrect, it will fail the entire message.

It's not free for commercial use, but the one-time license fee is more 
than worth it.

regards,
Auke van Slooten
Muze

(And no, I'm not affiliated with the author, just a happy customer).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.