Bullschmidt said:
Here are changes I made to convert CDONTS stuff to be CDO stuff
instead...
When we ported to CDO, this was all we had to do -- on some of our servers.
As we set about remediating scripts, we discovered that this simply did not
work on all of our servers. We needed to explicitly specify the
configuration on those servers, even when using the pickup directory.
Example:
var Msg = Server.CreateObject("CDO.Message"),
Config = Server.CreateObject("CDO.Configuration")
Config.Fields.Item(cdoSendUsingMethod) = cdoSendUsingPickup
Config.Fields.Item(cdoSMTPServerPickupDirectory) = cdoPickupDirectory
Config.Fields.Update()
Msg.Configuration = Config
We never took the time to track down the differences between servers that
was causing this, instead opting for the explicit declaration, which leaves
no ambiguity.
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.