URLRequest and navigateToURL to open email client but HTML email, not plain text???

I want users to click a button that uses URLRequest and navigateToURL to open the user's default email client with email body pre-populated with HTML email.
Even though I have tried to set the contentType property to one of the following, the HTML tags always display:
application/xml
application/html
var request:URLRequest = new URLRequest("mailto: ?subject=Test Email&body=<h1>Test Body</h1>");request.contentType = "multipart/form-data";
navigateToURL(request, "_self");
BTW, the above code is simplified, so I am using escape() on the subject and body text, etc.
So, is there any way to use mailto in this way to open the default email client and pre-populate with HTML email but not see the tags (BUT NOT REVERT TO PLAINTEXT)?

FTQuest wrote:
@Jason
>The problem there however is that very few people actually set this up... (default mail client)
Jason, can I ask you: is it your assumption, or there is/was reliable polling showing that majority of users prefer manually go the mail server instead of using the mail client application of their choice - Outlook, FireBird, Mail, etc?
Igor Borodin
There are numerous reasons behind avoiding mailto links in relation to design. And it's been debated back and forth for years. Form vs Mailto link both have their pros and cons and intended usages.
After panelling groups of individuals for three seperate projects regarding various design perspectives in the RIAs we developed, it became quickly apparent that on numerous occasions users clicking a mailto link were unaware of what the resulting screen was actually for. Several had never set up the default mail client on their pc. Many thought that "Yahoo" was the only email service in the world... Now, with that said, the target demographic for those applcations may or may not be what his, yours, or anyone's project may be. The key there is going to be identifying your dedmographic and determining the tech prowness. Also, what exactly is the email's intended result? Refer a friend style? Might be better handled through a web form due to the possiblity of being able to properly track how many referrals were actually made. How many resulted in a visitor. Simply notifying admin that there is a problem on the site? Might be better to fire off a mailto.
Reliably sending a preformatted HTML email can only be guaranteed on the server side. Otherwise, you run into problems just like he is having here. Now, if the email is plain text, different story.
Again, it all comes down to identifying your usage and properly utilizng the available tools.

Similar Messages

Maybe you are looking for

  • Problem with JOINs in SELECT query

    The parameter  wa_dob-e_dob is not getting its definition .... it contains DOB in current yr. As i am using Joins also Workarea.... so is it coz Joins & WA cant be used simultaneously in a SELECT query.... Is there any other option to do the same...?

  • Example of  Interactive ALV Report

    Hi all, Can anyone give me simplest example of Interactive ALV Report. Please give some description with that so that i can understand it .. Thanks Raj

  • Choice for a Backup Hard Drive

    Is paying a 50% premium for a Seagate or Lacie HD (200gig for around $140, as opposed to $90 for Fantom, lower priced brands, etc.) worth it for a backup HD? No audio recording involved, but dependable backup obviously important. Opinions? Dual 1.8 G

  • Task working in foreground, not working in background

    Hi Experts, I am facing one strange problem. I have created one Z BOR where i have written one method to fetch data from database. I have added one task in workflow which calls this method. When the task runs in foreground its perfectly fetches data.

  • Missing feature waning

    I am trying to look at this warning on health monitor. We had tried a  farm solution which  wasglobally deployed and later retracted and removed it as well. However now we see this wanring [MissingFeature] Database [WSS_Content_DB1] has reference(s)