how to open Microsoft Outlook using C# code?

Rate It (1)

Last post 05-09-2008 7:32 AM by akhhttar. 1 replies.

Sort Posts:

  • how to open Microsoft Outlook using C# code?

    05-09-2008, 6:12 AM
    • Member
      10 point Member
    • pathipati
    • Member since 07-26-2007, 4:56 AM
    • Bangalore
    • Posts 254

    Hi,
    how to open Microsoft Outlook using C# code?
    bcoz my requirement is there is a linkbutton in gridview.that linkbutton text is one email id. when i click that link button one Outlook comppose mail should open with to, subject,body with automatically filled in C#

  • Re: how to open Microsoft Outlook using C# code?

    05-09-2008, 7:32 AM
    • Contributor
      2,367 point Contributor
    • akhhttar
    • Member since 02-14-2007, 3:17 AM
    • Pakistan - Lahore
    • Posts 352

    you can convert linkbutton to hyperlink..and then try this

    objHypelink.NavigateUrl="mailto:name@name.com?subject=SubjectText&body=BodyText";

    Outlook will automatically launched by doing this.

    Thanks

    Regards,

    Muhammad Akhtar Shiekh

    Lets resolve the problem together.

    Please remember to mark the appropriate replies as answer after your question is solved, thanks

    My Blog
Page 1 of 1 (2 items)