We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Problem with MailMessage.Priority


...
邮件头X-Priority:1 (Highest),紧急状态:Normal
邮件头X-Priority:,紧急状态:High
邮件头X-Priority:3,紧急状态:Normal
邮件头X-Priority:1,紧急状态:High
...

why is normal ?

Hi Linq,

Thank you for writing to Aspose support team.

Could you please elaborate your requirements so that we can further investigate this issue and assist you accordingly? Please accompany your sample file and code that you have used to observe this issue. We’ll look into it for assisting you further.

Pop3Client client = null;
try
{
client = new Pop3Client("server", 110, "xxx", "xxx");
var msgCount = client.GetMessageCount();
Console.WriteLine("count:{0}", msgCount);
MailMessage msg;

for (int i = 1; i <= msgCount; i++)
{
msg = client.FetchMessage(i);

Console.WriteLine("Send by {2},Header X-Priority:{0},Priority:{1}", msg.Headers["X-Priority"],
msg.Priority, msg.From);
}
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
finally
{
client.Disconnect();
}
Console.WriteLine("complete!");
Console.ReadLine();

I think the value of Priority may be "High" ,But "Normal"

Hi Linq,


Thank you for providing the sample code however I am afraid that still I cannot reproduce the issue without the sample message. Could you please retrieve a sample message from your server and send us for our analysis or provide us credentials of some test account where this message is available? It will help us to observe the issue here and provide assistance as soon as possible.