CDOSYSMail Syntax

Hi,

Does anyone out there know the full syntax and functions available when you use CDOSYSmail.

The reason i ask is that I want to be able to Cc and Bcc emails to people when I send a form.

Regards
Arthursc
arthurscAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nurbekCommented:
'Create the e-mail server object
Set objCDOSYSMail = Server.CreateObject("CDO.Message")
Set objCDOSYSCon = Server.CreateObject ("CDO.Configuration")
'Out going SMTP server
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "your.home.org"
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
objCDOSYSCon.Fields.Update

'Update the CDOSYS Configuration
Set objCDOSYSMail.Configuration = objCDOSYSCon
objCDOSYSMail.From = "you@your.com"
objCDOSYSMail.To = "you@your.com"
objCDOSYSMail.BCC = "you@your.com"
objCDOSYSMail.Subject = "Subject goes here"
objCDOSYSMail.HTMLBody = " email message goes here"
objCDOSYSMail.Send
'Close the server mail object
Set objCDOSYSMail = Nothing
Set objCDOSYSCon = Nothing
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
arthurscAuthor Commented:
objCDOSYSMail.From = "you@your.com"
objCDOSYSMail.To = "you@your.com"
objCDOSYSMail.BCC = "you@your.com"

NO objCDOSYSMail.Cc=????
0
nurbekCommented:
add it :)

objCDOSYSMail.To = "you@your.com"
objCDOSYSMail.Cc = "you@your.com"
objCDOSYSMail.BCC = "you@your.com"
0
arthurscAuthor Commented:
umm. thats exactly what I have.

Yet the Mail.To works but the Mail.Cc doesn't receive the email.
0
selohCommented:
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.