There is a way to flag message for outlook reminder?
I am trying to send an email message from C# with a follow up flag and due date, also a reminder. in order that reminder popup comes up at the due date.
Is possible with Aspose.Email
There is a way to flag message for outlook reminder?
I am trying to send an email message from C# with a follow up flag and due date, also a reminder. in order that reminder popup comes up at the due date.
Is possible with Aspose.Email
Hi Salvador,
Hi,
Hi,
Thanks for being patient towards the implementation of this feature.
Please download and use this latest version of Aspose.Email v2.1.0 1. We have added two classes, namely FollowUpOptions and FollowUpManager, for this purpose. Please refer to the following variants of its usage.
FollowUpManager.SetFlag(msg, "Follow up", startDate, dueDate);
// Add a flag with a reminder
FollowUpOptions followUpOptions = new FollowUpOptions("Follow up", startDate, dueDate, reminderTime);
FollowUpManager.SetFlag(msg, followUpOptions);
// Add a flag to a message sent to someone else
FollowUpManager.SetFlagForRecipients(msg, "Follow up", reminderTime);
// Simultaneously flag a message both for yourself and the recipients
followUpOptions = new FollowUpOptions("Follow up", startDate, dueDate, reminderTime);
followUpOptions.RecipientsFlagRequest = "Follow up";
followUpOptions.RecipientsReminderTime = reminderTime;
FollowUpManager.SetFlag(msg, followUpOptions);
// Mark a message flag complete
FollowUpManager.MarkAsCompleted(msg);
// Remove a flag
FollowUpManager.ClearFlag(msg);
// Read follow-up flag options from a message
FollowUpOptions options = FollowUpManager.GetFlag(msg);
In addition, you can also convert the MapiMessage to MailMessage with flag for recipients and send it by SmtpClient.
i want to know where remindertime add to message .
Hi,
We are sorry for any confusion and inconvenience caused to you.
The code provided earlier contains multiple options to perform the same task.
Following are different options to add reminder time to message.
1. // Add a flag with a reminder
FollowUpOptions followUpOptions = new FollowUpOptions("Follow up", startDate, dueDate, reminderTime);
FollowUpManager.SetFlag(msg, followUpOptions);
2. // Add a flag to a message sent to someone else
FollowUpManager.SetFlagForRecipients(msg, "Follow up", reminderTime);
3. // Simultaneously flag a message both for yourself and the recipients
followUpOptions = new FollowUpOptions("Follow up", startDate, dueDate, reminderTime);
followUpOptions.RecipientsFlagRequest = "Follow up";
followUpOptions.RecipientsReminderTime = reminderTime;
FollowUpManager.SetFlag(msg, followUpOptions);