I believe I am using CDO.Message, and specifically CreateMHTMLBody, correctly. In the snippet below, I get the desired behaviour with the following values of "url":
But if I try one of the following (which is, of course, just what I need):
The operation times out. No entry is made in my machine's Event Log. We use a proxy server which is bypassed for local addresses, and I tried adding the appropriate entries for the variables cdoURLProxyServer (the IP of the server) and cdoURLProxyBypass (to "<local>") but that didn't change anything. I also tried setting the Flags parameter to cdoSuppressAll, no dice. Any experts out there who can help?
Set oMailConfig = New CDO.Configuration
Set Flds = oMailConfig.Fields
.item(cdoSendUsingMethod) = cdoSendUsingPort
.item(cdoSMTPServer) = "myMailServer"
eout) = 60
.item(cdoSMTPServerPort) = 25
Set oMail = New CDO.Message
Set .Configuration = oMailConfig
.To = recipients
.From = sender
.subject = subject