Send PHP Email with out mail() function
I have a web account on Windows using PHP with Godaddy. Godaddy want their users to use gdform.php when I would rather use some 开发者_开发百科my own custom php script.
Is it possible to send PHP mail with out the mail()
function?
http://phpmailer.worxware.com/
http://swiftmailer.org/
Both these are super-powerful mailing classes for PHP. I use PHPMailer to send out 30,000+ emails per day on my company's online application.
Here's the thing though, I have several simple contact forms on small customer websites hosted by GoDaddy that are using php's mail() without fail. They may tell you not to use it, but it's sure working just fine for me....Or perhaps the Windows servers aren't running PHPMail. As an aside, I'm getting as far away from GoDaddy as quickly as possible.....
Try PEAR::Mail with native SMTP. And there are other pure PHP implementations.
Try Zend_Mail, Great features and easy to use, although I've heard stuff about it's numerous bugs but I'm not sure how much those rumors are true.
精彩评论