cdo.message
Where does CDO get its information from?
I'm trying to send e-mail with cdosys.dll (ProgId "CDO.Message"). The code looks something like this: http://www.w3schools.com/asp/asp_send_email.asp Set myMail=CreateObject("CDO.Message") myMail.Subject="Sending email with CDO" myMail.From="mymail#mydomain.com" myMail.To="someone#somedomain.com" myMail.TextBody="This is a message." myMail.AddAttachment "c:\mydocuments\test.txt" myMail.Send set myMail=nothing On one PC, it works. On another, it doesn't. I get the error "The 'SendUsing' configuration is invalid". To fix it, I should be able to add code like this: myMail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/sendusing")=2 myMail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserver")="smtp.server.com" myMail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserverport")=25 myMail.Configuration.Fields.Update QUESTION: Where the heck is the CDO configuration stored? I've search the registry, I've scoured MSDN and Google ... and I've come up empty handed. Any ideas? Thanx in advance!
Related Links
Send emails using cdo.mesage
Where does CDO get its information from?