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

Setting Mail Priority with CDOSYS script in .asp

0 views
Skip to first unread message

Bob

unread,
Jul 19, 2004, 2:07:00 PM7/19/04
to
Is it possible to set the priority or importance of email
sent using cdosys?

I have found some examples in KBA 810702 but didn't
locate this aspect. The script editor in Frontpage 2002
didn't bring up anything either for m. that I felt was
useable also.

Is this just one of those things that can't be controlled
with script in an .asp page?

Nathan Kodak

unread,
Jul 19, 2004, 4:22:01 PM7/19/04
to
Yes Bob, it sure is.

objMail.Importance=<number>

Low = 0
Normal = 1
High = 2

Hope this helps.

Nathan

Bob

unread,
Jul 21, 2004, 7:13:01 PM7/21/04
to
That is exactly what I was looking for. Thank you very
much. Is there any link on Microsoft or somewhere else
you know of that shows all of the priorities you can set?
Importance wasn't one of the ones that came up for me
using the script editor and that is why I am asking here.

>.
>

Bob - Please Read

unread,
Jul 21, 2004, 7:28:20 PM7/21/04
to
I just realized I am not using objMail in my code. Mine
looks like this.

Set m = CreateObject("CDO.Message")
m.From = "sen...@sender.com"
m.To = "rece...@anywhere.com"
m.Subject = "Information For You"
m.TextBody = "This is the message." & Chr(13)
m.Send

The above works just fine with cdosys, but I can't
specify a priority for the message and this is what I
would like to do if possible? Does this make more sense
now?

>.
>

0 new messages