tibberous Posted July 31, 2008 Share Posted July 31, 2008 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 Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted July 31, 2008 Share Posted July 31, 2008 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. Quote Link to comment Share on other sites More sharing options...
tibberous Posted July 31, 2008 Author Share Posted July 31, 2008 Well, I wasn't looking so much at it failing, but in having the ability to possibly send it's outgoing mail through another server, as well as handling the headers for me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.