Author |
|
vara Challa Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 28 June 2004 at 11:09am | IP Logged
|
|
|
Hello,
Can you please tell me if i can do the foolowing mailbee
1)know the importance(priority) of a incomming email.
2)Is there a way to method or event to let me know when a email is delivered and read.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 28 June 2004 at 11:40am | IP Logged
|
|
|
To get message's priority/importance/etc, you can use GetHeader method of the Message object:
priority = Message.GetHeader("X-Priority")
ms_priority = Message.GetHeader("X-MSMail-Priority")
importance = Message.GetHeader("Importance")
To trigger an event of the message being read, add "Disposition-Notification-To" header to the message.
SMTP.Message.ToAddr = "to@domain.com"
SMTP.Message.FromAddr = "from@domain.com"
SMTP.Message.AddHeader "Disposition-Notification-To", "from@domain.com"
...
SMTP.Send
The recipient will be prompted to send Reading confirmation when he/she opens the message.
However, the recipient's mail software must support this sort of functionality. Most popular mail clients do but there is no 100% guarantee.
|
Back to Top |
|
|
bharatit Newbie
Joined: 26 June 2005 Location: India
Online Status: Offline Posts: 0
|
Posted: 26 June 2005 at 2:47pm | IP Logged
|
|
|
Sir can you please tell me , weahther there is a way by which the software does not prompt the user to send the read confirmation , can it send automatically without asking. I have heard about such websites which enable you to do so . pls help.......
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 27 June 2005 at 7:48am | IP Logged
|
|
|
I don't think it's possible because it would violate reader's privacy. What if I (reader of the message) do not want to send out any read confirmation? I should be able to decide this myself. For instance, if there was a way to send out confirmation automatically, spammers would use it for detecting live email addresses.
Regards,
Alex
|
Back to Top |
|
|