Cannot send CDO.Message from Windows Server 2012
Posted on 2013-12-02
I've moved my website from Windows Server 2008 to Windows Server 2012.
The problem I encountered is that I can't send email. The code below worked on the old server but it gives me an error on Windows Server 2012.
myMail.Subject= request.form("Subject") & " - Test" ' subject of the email
myMail.HTMLBody = request.form("Message") & "<b>Test</b>"
After I submit I get the following error:
CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
SMTP Server is installed on Windows Server 2012, but the email feature still doesn't work.
I would appreciate your help.