none
choose email programm RRS feed

  • Question

  • For sending a email on buttonclick

      Dim theStringBuilder As New StringBuilder()
                    theStringBuilder.Append("mailto:email@Address.com")
    
                    Process.Start(theStringBuilder.ToString())

    It is opening the default email programm , but i there a way to choose a programm when you have more then 1 email programm installed ?

    For example Outlook and Mail , and not pick the default


    • Edited by KeesBlunder Friday, October 5, 2018 7:54 PM
    Friday, October 5, 2018 7:49 PM

All replies

  • Using "mailto:" always uses the default email application, nothing changes unless you change the default mail application.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites


    Friday, October 5, 2018 8:02 PM
    Moderator