Search The ForumSearch   RegisterRegister  LoginLogin

MailBee Objects

 AfterLogic Forum : MailBee Objects
Subject Topic: Mail Priority Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Guests
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 28 June 2004 at 11:09am | IP Logged Quote Guests

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 View Guests's Profile Search for other posts by Guests
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 28 June 2004 at 11:40am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide