# Web form error, not sending

**URL:** <https://forum.kirupa.com/t/web-form-error-not-sending/222189>\
**Category:** Uncategorized\
**Created:** [April 11, 2007, 2:32pm UTC](https://forum.kirupa.com/t/web-form-error-not-sending/222189 "2007-04-11T14:32:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![acc](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@acc](https://forum.kirupa.com/u/acc)\
**Post date:** [April 11, 2007, 2:32pm UTC](https://forum.kirupa.com/t/web-form-error-not-sending/222189/1 "2007-04-11T14:32:04Z")

</div>

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

```auto

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 🙂
