none
Outlook return path. RRS feed

  • Question

  • Guys,

    there is a question.

    In my c# application, I am opening outlook application and it displays outlook with everything is being populated.

    Just my task is to click on the 'send' button of outlook,

    and upon successfully sending it  i need to return to my c # application where i need to update some other items.

    How can i get it done?

    ~Peter

    Tuesday, May 7, 2013 4:56 AM

Answers

  • You are programmatically "clicking" on the Send button, why do you even need to display anything? How will the user see anything? Why not simply call MailItem.Send instead of MailItem.Display?

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Tuesday, May 7, 2013 6:32 AM

All replies

  • You are programmatically "clicking" on the Send button, why do you even need to display anything? How will the user see anything? Why not simply call MailItem.Send instead of MailItem.Display?

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Tuesday, May 7, 2013 6:32 AM
  • Hi Peter,

    I temporarily marked Dmitry's suggestions as as answer. You can unmark it if it provides no help.

    Please feel free to let us know if you need any further help.

    Have a nice day.


    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, May 27, 2013 10:57 AM
    Moderator