Link to home
Start Free TrialLog in
Avatar of Kakoroat
KakoroatFlag for United States of America

asked on

New Email through .Net Outlook Addin, flag for followup recipient only

Hello,
I've created an outlook 2010 addin using vb.net.  What I'm doing is, one person generates an email through my addin (so that it can be tracked through our database), adding custom text to it and attachements, then sends.  The email is being marked for followup and shows up in the recipients box, showing the outlook alert that an item is flagged for followup.  The problem is that the sent item sitting in the senders folder is also showing the outlook that the item was flagged.

So what I need is code (preferrably vb.net) that will flag an item for followup bu ONLY for the recipient and not the sender.  I know that it can be done manually through the outlook interface, but I'm trying not to make the user do that.

Once the user clicks the button on the ribbon, the following is generated:

        Dim NewMail As Outlook.MailItem = Globals.ThisAddIn.Application.CreateItem(Outlook.OlItemType.olMailItem)
        NewMail.FlagRequest = True

I've been looking for code and so far haven't found anything that only applies to the recipient of the email.
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I've requested that this question be closed as follows:

Accepted answer: 150 points for CodeCruiser's comment #a38319426

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.