Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VBS, CDo.Message and Importance

1,074 views
Skip to first unread message

karlman

unread,
Dec 8, 2007, 4:58:16 PM12/8/07
to
I have a script that sends an email when certain events happen. I use:

Set Msg = CreateObject("CDO.Message")

To create and send the message and it works great. I am trying to add
the ability to send the email as Urgent/High Priority/Inportance but I
cannot seem to do so. My research has turned up that I should be
using:

.Configuration.Fields.Item("urn:schemas:httpmail:importance").Value =
2 ' cdoHigh = 2
.Configuration.Fields.Item("urn:schemas:httpmail:priority").Value =
1 ' cdoPriorityUrgent = 1

I have added these two lines in just before I update the fields but it
has no effect. The message headers state normal for both importance
and priority.

This is being sent to my Exchange server.

Anyone have any ideas?
Thanks!!
Karl

Michael Harris

unread,
Dec 8, 2007, 7:03:40 PM12/8/07
to
> Anyone have any ideas?

A blogger who claims to have done it this way...

Mark's Tech Stuff: Set Email Priority cum Importance Via ASP Using
CDO.Message
<http://markstechstuff.blogspot.com/2007/06/set-email-priority-cum-importance-via.html>

--
Michael Harris


0 new messages