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

Posted on 2012-08-21
Last Modified: 2013-03-11
I've created an outlook 2010 addin using  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 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.
Question by:Kakoroat
    LVL 83

    Accepted Solution

    FlagRequest is a string property isn't it?

    Did you try clearing it after sending the email?
    LVL 17

    Expert Comment

    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.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Sometimes Outlook might have problems sending a message. There may be various causes- corrupted PST, AV scanner etc. The message, instead of going to the Sent Items folder, sits in the Outbox indefinitely. To remove it you can use a free tool cal…
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now