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?

Categories

HOME
verification
bots
code-formatting
websocket
consul
twitter-fabric
dji-sdk
grocery-crud
dma
sonicwall
vmware-workstation
c#-7.0
user-defined-types
l20n
susy-sass
codefluent
renderscript
significance
raml
maven-surefire-plugin
liferay-6.2
ava
ratio
firemonkey-style
fusetools
password-generator
cellular-network
ipa
python-appium
strophe.js
marquee
audit
credit-card
dotcms
winsock
tightvnc
rspec-rails
advanced-filter
counting
spinner
forms-authentication
strapi
python-jira
classnotfoundexception
cloudera-sentry
pyttsx
moinmoin
wysihtml5
sonarqube5.2
django-static-precompiler
asp.net-web-api-routing
popen
rustdoc
nclam
ndk-build
decoder
nunit-console
tsqlt
msbuild-4.0
groovyfx
fiber
highlighting
timestamping
swiffy
management-studio-express
ioctl
wikimedia-commons
ioexception
grinder
mousehover
nastran
canopy
apple
artisan
physicsjs
kotlin-android-extensions
azure-xplat-cli
prism-4
gflags
incron
pass-by-value
sql-processor
phonegap-facebook-plugin
rubber
cout
xml-signature
coding-efficiency
stripe.net
iosched
compiler-flags
san
unrealscript
postgres-xc
jacob
microformats
sunstudio
statechart
aero
multiscaleimage
idispatch
instance-variables
thejit
jdom
autosize
delphi-prism
datacontracts
tessellation
reliability
browser-based
mysqli-multi-query
projectpier
stretchblt
suggestbox

Resources

Encrypt Message