mailto: Format the body Text

How can i format the mailto:  body text like  bold & color change  & font change for one word?

like the below

VisitorName=cv
VisitorComment=bcv
group1=Wine


Thanks
ran

<form 
  method=post action="mailto:someone@yoursite.com?subject=Mail from Our Site" enctype="text/plain">

 
Your Name:<br>
<input type="text" size="20" name="VisitorName"><br><br>

Your Comment:<br>
<textarea name="VisitorComment" rows="4" cols="20">
</textarea><br><br>
<input type="radio" name="group1" value="Milk"> Milk<br>
<input type="radio" name="group1" value="Butter" checked> Butter<br>
<input type="radio" name="group1" value="Cheese"> Cheese<br>
<input type="radio" name="group1" value="Water"> Water<br>
<input type="radio" name="group1" value="Beer"> Beer<br>
<input type="radio" name="group1" value="Wine" checked> Wine<br>

<input type="submit" value="Email This Form">


</form>

Open in new window

OramcleAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

D_NevCommented:
I'm afraid that I cant understand the question. Do you want the contents email that is sent from the sent to contain bolded text?

The only way I've been able to do something like this without pulling my hair out was to use a program from Bebesoft.
http://www.bebosoft.com/products/formstogo/overview/

This program will allow you to format the text in the email that comes to you, assuming you pick the HTML option for the email instead of plain text.

Let me know if this will work for you.
Kusala WijayasenaSoftware EngineerCommented:
You cannot send HTML formatted Outlook emails using "mailto". So create an object (ActiveX) from "Outlook.Application" and set it "HTMLBody" property with your HTML formatted message

try {
    var outlookApp = new ActiveXObject("Outlook.Application")
    var mailItem = outlookApp.CreateItem(0) // value "0" means "MailItem"

    mailItem.To = "abc@xyz.com"
    mailItem.Subject = "My Subject";
    mailItem.HTMLBody = "<h1>My Heading</h1><br /><br />My Message";
    mailItem.display()
}
catch(err) {
    alert("Error: Cannot send email using Microsoft Outlook");
}

Open in new window

 

-Kusala

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Wouter BoevinkMasterCommented:
Are you using asp or asp.net?

Assuming you're using asp:

http://www.w3schools.com/asp/asp_send_email.asp
http://www.asp101.com/articles/john/cdosmtprelay/default.asp

The ActiveXObject("Outlook.Application") is IMHO not the way to go, although it would work.
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

OramcleAuthor Commented:
I am using HTMI & java script
OramcleAuthor Commented:
Thank you
Wouter BoevinkMasterCommented:
Still going for the outlook solution, pity :-)

Glad it worked out for you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.