# Asp form won't send to other domains

**URL:** <https://forum.kirupa.com/t/asp-form-wont-send-to-other-domains/250680>\
**Category:** Uncategorized\
**Created:** [January 31, 2008, 4:53pm UTC](https://forum.kirupa.com/t/asp-form-wont-send-to-other-domains/250680 "2008-01-31T16:53:10Z")\
**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:** [January 31, 2008, 4:53pm UTC](https://forum.kirupa.com/t/asp-form-wont-send-to-other-domains/250680/1 "2008-01-31T16:53:10Z")

</div>

I have this form which works fine, but I wanted to send an email to the person who filled out the form for their record and confirmation that all data is correct.

```auto

set imsg = createobject("cdo.message")
    set iconf = createobject("cdo.configuration")
    Set Flds = iConf.Fields
    With Flds
   .Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
   .Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtp
     .Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
     .Item ("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
   .Update
   End With
   With iMsg
   Set .Configuration = iConf
        .To = "email@domain2.com" 'site visitor
        .Bcc = "email@domain1.com" 'send to us
        .From = "email@domain1.com"  
        .Subject = Subject
        .HTMLBody = HTML
        .fields.update
        .Send
    End With
    set imsg = nothing
    set iconf = nothing
    set HTML = nothing    

```

it sends w/o a problem when the domain1 is used, but not when another domain name is used.

can someone more knowledgeable explain why?

thanks
