Just in case anyone is interested the code should be
The previous post didn't have the fields.update that's why the email never got its importance as High
Regards,
Code:
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="USERNAME@SERVER.COM"
myMail.To="USERNAME@SERVER.COM"
myMail.TextBody="This is a message."
'myMail.AddAttachment "c:\mydocuments\test.txt"
myMail.HTMLBody = "<h1>This is a message.</h1>"
myMail.Fields("urn:schemas:mailheader:importance").Value = "high"
myMail.Fields("urn:schemas:mailheader:priority").Value = "urgent"
myMail.fields.update
myMail.Send
set myMail=nothing
%>
Regards,