Opening Default mail application from win32 & win64

Discussion forum about all things Team Developer 7.x
a_sivababu
India
Posts: 58
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Opening Default mail application from win32 & win64

Post by a_sivababu » 29 Aug 2018, 04:46

Hi All,
I have requirement where I need to click the Email Address link to open the Default mail apps with email Address in To list.

I have already made hyperlink in EmaiID inside the text field using ShellExecuteA(). I am planning to use ShellExecuteA for passing mailto: functionalities and open the default app. Will this work? Any samples would be appreciated.

Thanks
Siva A

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 1088
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Opening Default mail application from win32 & win64

Post by Dave Rabelink » 29 Aug 2018, 05:01

A sample using ShellExecute and mailto can be found here:

http://samples.tdcommunity.net/index.ph ... rch_mode=f
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

a_sivababu
India
Posts: 58
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Opening Default mail application from win32 & win64

Post by a_sivababu » 30 Aug 2018, 03:08

Thanks Dave. This works in win32 and win64.

Regards,
Siva A

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 0 guests