Jump to content

Good smtp mail class - pros and cons of using one?


tibberous

Recommended Posts

A site I worked on one time used a class called PHPMailer (http://phpmailer.codeworxtech.com)

 

The class doesn't use the built in mail function, but rather uses sockets to connect to an SMTP server. It supports html and non-html email.

 

Does this sound like something that I should use? Are their any disadvantages / benefits of doing it this way?

 

And how do I send html email with the normal mail function - I can never get it to work :(

mail() is a very ununderstood function by the basic php user.  The reason it fails so often has very little to do with your server or php settings but how you develop your headers for your message.  It functions just as well as most OOP smtp classes written. 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.