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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

CDO Message 1
CDOSYS 1
Excel CDO 5
HTML Email 2
CDO Object: Setting Mail Priority (Urgent, Medium, Low) 4
Problems with CDO 2
Can't send email from Excel with CDO 2
CDO Error 1

Back
Top