Hi everyone,
I’m currently experiencing a sudden problem with a web form I created, which has sent completed forms in the past up until this week.
I’m getting this error:
[FONT=Arial][SIZE=2]CDO.Message.1[/SIZE][/FONT] [FONT=Arial][SIZE=2]error ‘80040213’[/SIZE][/FONT]
[FONT=Arial][SIZE=2]The transport failed to connect to the server.[/SIZE][/FONT]
Some things were changed on our server, due to a problem we had last week. What I’d like to know is, what specific information should I ask our tech about the server that would/could have been creating this problem.
Any suggestion to solve this problem would be greatly appreciated.
Below is the code as well, the part that sends the email
set imsg = createobject("cdo.message")
set iconf = createobject("cdo.configuration")
Set Flds = iConf.Fields
With Flds
.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = mail.name.com
.Update
End With
With iMsg
Set .Configuration = iConf
.To = MailTo
.From = From
.Subject = Subject
.HTMLBody = HTML
.fields.update
.Send
End With
set imsg = nothing
set iconf = nothing
set HTML = nothing
Thanks