I moved my website to a new server and I'm trying to send email using the code below:
myMail.HTMLBody = Request.form("Comments")
I get the following error message:
CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
To troubleshoot the problem I added the following lines, and I could send the email successfully:
") = 2
") = "mailout.mysite.com"
") = 25
I would like to know if there is a way to configure the email settings on the server, instead of having to add these microsoft links to my code. When I log in to the server I don't see an option to configure SendUsing.
In Authentication Settings I clicked "Not Required" and I entered Port 25.
I would appreciate your help