> but its possible do it without it?
Sure, if you want a bunch of statements like this:
CONST cdoBlahBlah = 1
CONST cdoSomethingElse = 5
CONST cdoAnotherThing = 0xH0004
....
Or, if you want to memorize the value for each and know without question
what it means (note that this makes your code much more cryptic).
Or, if you want to use the more verbose, and slightly misleading, URL style,
e.g.
Set cdoConfig = CreateObject("CDO.Configuration")
cdoConfig.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendus
ing") = 2
(But you still have to remember what 2 means! Does that mean local pickup,
or use a specific smtp server?)
You seem to be troubled by the fact that you might have to memorize that
metadata tag? Not sure why you might think that; I certainly don't have it
memorized. You can put that metadata tag in a text file, somewhere easy to
reach, and just copy and paste. Or you can just grab it from
http://www.aspfaq.com/2026 whenever you need it.
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/