Click here to Skip to main content
15,662,823 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

I need to open default mail client on button click, with filled html content in body.

I will fill html from code behind.

User just needs to enter toemail and can send it to their friends.


body should filled with HTML content, and not specific to outlook.

should support every mail types.
Updated 18-Sep-14 23:49pm
ZurdoDev 19-Sep-14 7:32am    
Where are you stuck?
nandakishoreroyal 19-Sep-14 7:39am    
how to write code?

I wrote:

but it doesnt fill html in body.

1 solution

It is not possibe to fill html content in body,

there is no other way,

you can do it from c# code behind only for outlook, not any gmail, yahoo etc...

mailto is the only option to open default email client window
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900