Sign in to follow this  
Followers 0
FreeRider

SMTP Mail Priority

3 posts in this topic

Hi everybody,

I'm using a script to send automaticaly mails and I'd like to include the priority level management (High/Normal/Low).

I did not find how to to this...

I can update fields like Port ($objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = $IPPort)

And I'd like to do the same for the priority Level.

Does someone have the solution ?

Thanks for your help.


FreeRiderHonour & Fidelity

Share this post


Link to post
Share on other sites



I could not find anything when I searched the NET for this - perhaps other can.

Free bump...


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Hi everybody,

I'm using a script to send automaticaly mails and I'd like to include the priority level management (High/Normal/Low).

I did not find how to to this...

I can update fields like Port ($objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = $IPPort)

And I'd like to do the same for the priority Level.

Does someone have the solution ?

Thanks for your help.

I've had to do something like this back in the day using .NET. Here is some sample code using CDO to assign importance.

'Update the CDOSYS Configuration

Set objCDOSYSMail.Configuration = objCDOSYSCon

'Set and update email properties

With objCDOSYSMail

'0=Low, 1=Normal, 2=High

.Fields("urn:schemas:httpmail:importance").Value = intpriority '0=low, 1=normal, 2=high

....

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0