Hi.I'm trying to send out an email using the following to user1 and CC to user2. User1 is able to receive the email but not user2.
Set MyCDONTSMail2 = Server.CreateObject("CDONTS.NewMail")
HTML = "<!DOCTYPE HTML PUBLIC""-//IETF//DTD HTML//EN"">"
HTML = HTML & "<html>"
HTML = HTML & "<head>"
HTML = HTML & "<title>Testing</title>"
HTML = HTML & "</head>"
HTML = HTML & "<body bgcolor=""FFFFFF"">"
HTML = HTML & "Ladies & Gentlemen"
HTML = HTML & "</body>"
HTML = HTML & "</html>"
MyCDONTSMail2.From= "testing"
MyCDONTSMail2.To="user1@domain.com"
MyCDONTSMail2.Cc="user2@domain.com"
MyCDONTSMail2.Subject="Testing"
MyCDONTSMail2.BodyFormat=0
MyCDONTSMail2.MailFormat=0
MyCDONTSMail2.Body=HTML
MyCDONTSMail2.Send
set MyCDONTSMail2=nothing
Any idea?
Maegan.
Set MyCDONTSMail2 = Server.CreateObject("CDONTS.NewMail")
HTML = "<!DOCTYPE HTML PUBLIC""-//IETF//DTD HTML//EN"">"
HTML = HTML & "<html>"
HTML = HTML & "<head>"
HTML = HTML & "<title>Testing</title>"
HTML = HTML & "</head>"
HTML = HTML & "<body bgcolor=""FFFFFF"">"
HTML = HTML & "Ladies & Gentlemen"
HTML = HTML & "</body>"
HTML = HTML & "</html>"
MyCDONTSMail2.From= "testing"
MyCDONTSMail2.To="user1@domain.com"
MyCDONTSMail2.Cc="user2@domain.com"
MyCDONTSMail2.Subject="Testing"
MyCDONTSMail2.BodyFormat=0
MyCDONTSMail2.MailFormat=0
MyCDONTSMail2.Body=HTML
MyCDONTSMail2.Send
set MyCDONTSMail2=nothing
Any idea?
Maegan.