CDO and message priority (C#)

  • Thread starter Thread starter rzabor
  • Start date Start date
R

rzabor

Hi,

I'm trying to set message priority (I'm using CDO for sending) this way:

private CDO.Configuration m_cdoConfig= new CDO.Configuration();

private void Config()
{
[..]
m_ConfigFields["urn:schemas:mailheader:priority"].Value=
CDO.cdoPriorityValues.cdoPriorityUrgent;
m_ConfigFields["urn:schemas:mailheader:importance"].Value=
CDO.cdoImportanceValues.cdoHigh;
[..]

m_ConfigFields.Update();
}

public Int32 SendMail(..)
{
[..]
CDO.Message IMsg= new CDO.Message();
IMsg.Configuration = m_cdoConfig;
[..]

IMsg.Send();
}

unfortunately, the message is always delivered with "normal" priority.
Did anybody try to do the above with better result than mine ?
 
Back
Top