Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have big problem , i work on email open in outlook by java script on asp.net

but when body was to long spicily in google chrome don't work just on chrome ,

IE and Firefox worked fine when i do search see url in chrome limitation issue ,

can one help me or suggest deterrent way to open email in outlook ,

url will be like this but long body ,


mailto:A@a?subject=test&body=test .....etc

What I have tried:

ClientScript.RegisterStartupScript(this.GetType(), "mailto",
"<script type = 'text/javascript'>window.location='mailto:" + (email) +
"'</script>");
Posted
Updated 15-Dec-16 17:14pm

1 solution

Sorry to break your bubble. You cannot do it using javascript. Client side can send email. Only server side can send email
 
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