I cant seem to find the code to set the priority of the message High. Ive looked every were, using win2k code is below. I cant seem to find the schema anywhere.
In some cases this code is sent from the smtp on the webserver in some cases it goes to a remote exchange server using CDOBasic. In neither case have I been able to elevate the importance.
'on error resume next
Set Mssg = Server.CreateObject("CDO.Message")
set iConf = CreateObject("CDO.Configuration")
Set Flds = iConf.Fields
With Flds
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "MyWebServer"
.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate")=0
.Item("urn:schemas:httpmail:importance").Value = 2
.Update
End With
with Mssg
Set .Configuration = iConf
.CreateMHTMLBody ("http://www.SomeWebsite.com/")
.Subject = "Test Of Web Mail"
.From = "
[email protected]"
.To = "
[email protected]"
.Send
End With
Set Mssg=Nothing
Set iConf=Nothing
Set Flds=Nothing