I have an aspx page, in that page on a button click i have to send the mail without going to server side..
My requirement is i have to use only the "mailto" option available in html.
I referred some sites, mostly they posted the below code.
Code
my linkbut it doesn't work..
Can any one help me ?
Thanks in advance.


Manoj BhoirRank #599 · 4K reputationPosted Apr 14, 2015, 8:58 PM EDT
Try this one :
Click Here to Email
For more information see this : http://www.rapidtables.com/web/html/mailto.htm
Jayakumar BalasubramaniamRank #267 · 9.5K reputationPosted Apr 14, 2015, 9:22 PM EDT
Yeah i know that code will work. But i need to attach some document with the mail using "mailto" that's my issue.
In the above link i don't find anything for attachment.
Manoj BhoirRank #599 · 4K reputationPosted Apr 14, 2015, 10:32 PM EDT
Standard mailto protocol does not support attachments (see specification).
You can use System.Net.Mail to send email with attachment.
Check this for more information :
http://www.c-sharpcorner.com/UploadFile/dchoksi/SendingMail02132007002923AM/SendingMail.aspx
Jayakumar BalasubramaniamRank #267 · 9.5K reputationPosted Apr 14, 2015, 10:52 PM EDT