phpmailer and IIS SMTP Doesn’t Work
After much messing around, I was still unable to get phpmailer to work on IIS6 (Windows 2003). I am using PHP v5.x for windows.
From investigation it seems that IIS SMTP service has a problem with phpmailer. The error message from PHP is:-
“Language string failed to load: instantiate”
What this actually means is that IIS SMTP service is throwing a wobbly and can’t cope with adding the senders name in the header.
phpmailer can be “hacked” to work with IIS by removing the senders header. See here for more information.
Another alternative that I found is to install a decent SMTP service. MailEnable (Free) solved the problem for me. I guess it’s more tolerant of standards than IIS SMTP.
Leave a Reply
You must be logged in to post a comment.