How to open default email client with attachment

326 views
Skip to first unread message

venkateswararao chaganti

unread,
Aug 17, 2018, 12:19:54 PM8/17/18
to Angular and AngularJS discussion
I  am using Angularcli (angular 5) with .net core, in my application need to open default mail client with attachment. You guys have any idea how to make this possible?

Sander Elias

unread,
Aug 18, 2018, 12:03:17 AM8/18/18
to Angular and AngularJS discussion
Hi Venkateswararao,

Use an mailto url. Build the urls, and use window.location to open in a new tab.

Regards
Sander
Reply all
Reply to author
Forward
0 new messages