Forum Moderators: open

Message Too Old, No Replies

CDONTS CC not working...

this is what is happening...

         

newnewbie1

4:27 am on Apr 9, 2003 (gmt 0)

10+ Year Member



Hi!

I'm trying to build an email form with CDONTS. Everything is working correctly except the CC field. This is what happens... when I CC a person in my domain, I get the copy. When I CC somebody outside of my domain I do not ever get it.

Is CDONTS designed to only copy people in the same domain or something?

Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.From = Request.Form("name") & " <" & strReturnEmailAddress & ">"
objCDOMail.To = strMyEmailAddress
objCDOMail.Cc = strCCEmailAddress
objCDOMail.Bcc = strBCCEmailAddress
objCDOMail.Subject = "Issue Report"
objCDOMail.BodyFormat = 0
objCDOMail.MailFormat = 0
objCDOMail.Body = strBody
objCDOMail.Importance = 2
objCDOMail.Send
Set objCDOMail = Nothing

Chuma

4:31 am on Apr 9, 2003 (gmt 0)

10+ Year Member



Check your IIS server to see if it allows relaying to an address outside your domain.

Also it would be worthwhile to turn on SMTP logging so you can see when the server tries to send mail.

I remember having this problem with CDONTS before and it usually comes down to the relay settings.

Thanks.