Jump to content

SMTP Mail Priority


Recommended Posts

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

Link to comment
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

....

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...