Free Support Forum - aspose.com

Flag email for Outlook reminder

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,


Thank you for considering Aspose products.

I have forwarded a request to the development team for the confirmation on your required feature. As soon I get any news, I will post here for your kind reference.

I think, your required feature is not supported yet so upon confirmation, we will log an enhancement ticket and try to bring it on our road map of Aspose.Email for .NET component.

Regards,

Hi,


Upon discussing your required feature with the development team, I have logged a ticket (NETWORKNET-33324) to provide such feature with some future release of Aspose.Email for .NET component. I have also attached the ticket with your request for tracking purposes. As soon as we have made some significant development towards the resolution of this ticket, we will notify you here.

Please accept our apologies for any inconvenience caused.

Regards,

Hi,


Thanks for being patient towards the implementation of this feature.

Please download and use this latest version of Aspose.Email v2.1.0. We have added two classes, namely FollowUpOptions and FollowUpManager, for this purpose. Please refer to the following variants of its usage.

<span style=“font-size:
10.0pt;font-family:“Courier New”;color:#2B91AF;mso-no-proof:yes”>FollowUpManager<span style=“font-size:10.0pt;font-family:“Courier New”;mso-no-proof:yes”>.SetFlag(msg,
“Follow up”, startDate, dueDate);<o:p></o:p>

// 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<o:p></o:p>

    FollowUpOptions followUpOptions = new FollowUpOptions(“Follow up”, startDate, dueDate, reminderTime);<o:p></o:p>

    FollowUpManager.SetFlag(msg, followUpOptions);


  2. // Add a flag to a message sent to someone else<o:p></o:p>

    FollowUpManager.SetFlagForRecipients(msg, “Follow up”, reminderTime);


  3. // Simultaneously flag a message both for yourself and the recipients<o:p></o:p>

    followUpOptions = new FollowUpOptions(“Follow up”, startDate, dueDate, reminderTime);<o:p></o:p>

    followUpOptions.RecipientsFlagRequest = “Follow up”;<o:p></o:p>

    followUpOptions.RecipientsReminderTime = reminderTime;<o:p></o:p>

    FollowUpManager.SetFlag(msg, followUpOptions);