I need to send HTML page in the email by using [B]mailto:[/B] functionality of HTML. I am using html5 for mobile. Please provide me any example or link on the same.
@Big_O_1_Feb 21.2011 — #the mailto attribute of an anchor tag will not send an email. It will open the default email client (Outlook, Thunderbird, Webmail, etc.) and allow the user to type their message and send it. To send an email with code you will need a server side language like PHP, .NET, or Ruby. Javascript alone can not send an email.
@Big_O_1_Feb 21.2011 — #If I understand correctly, you want to open the user's email client with the body of the email already written. If that's the case, you can do something like this.
<a href="mailto:[email protected]?body=This is the body of the email. You can change it before sending or send as is.">Email me</a>
You are right,I want to do the same thing. but insted of [B]This is the body of the email. You can change it before sending or send as is.[/B] , i want to set the html data. like with some formating coloring and all that.
Thanks for great help please give me final the answer. ?
@Big_O_1_Feb 21.2011 — #hmmm.. I have personally never done this. As far as I know, if you place html code instead of text there, it will show the code with tags and attributes and not format it.