Open email client and use HTML link

How does one open an email client and embed a body with HTML, so links will work.
I have tried:
var request:URLRequest = new URLRequest("mailto:[email protected]?subject=some subject Results"+"&body="+"<A=href=3Dhttp://www.somelink.com</A>"
navigateToURL(request, "_self");
This is not to be sent to a php page, but load the user's Email Client.

Using URL notation to specify an emails contents you can't force a user to use rich text. Some have their clients to default to plain text. Therefore it will just show the HTML. There is no guaranteed way to achieve this.
If the user has rich text set as default a link being injected typically auto-links anyhow. You may not SEE it as a hyperlink but send the email and the receiving users computer should see it as a hyperlink.
So try:
var request:URLRequest = new URLRequest("mailto:[email protected]?subject=some subject Results&body=http://www.somelink.com");
Then send that email to yourself. You should see it appear as a hyperlink automatically, as long as you have rich text mode enabled. Otherwise no matter what you send a plain text user will never see your hyperlink anyhow as it strips HTML out.

Similar Messages

  • How can I create a button to open email client and allow the user to e-mail pdf to a friend?

    I need to find a way to let our members share our marketing pdf files with their friends as an email attachment. I can only seem to find a way to send a mailto to a specific address. I am thinking that the form is the only way to create that possibility, but would be open to any help even if not by a form.

    Thanks you but I want the end user to be able to open my pdf file from my website and email it as an attachment to their family and friends. ( no specific email address assigned) I tried adding a empty mailto tag and it opens the email client, but no attachment. I don't think I am making my question understandable and maybe it is not possible to do this in Acrobat.

  • 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.

  • How do i delete my primary email address and use one of my alternate email adresses as my primary email address

    how do i delete my primary email address and use one of my alternate email adresses as my primary email address

    Hey freightguy,
    It sounds like you want to change your Apple ID. Follow the steps in this link to do so:
    Before you change your Apple ID:
    Sign out of all Apple features and services that you use with your current Apple ID.
    Make sure that the email address you want to use for your Apple ID meets these conditions:
    The email address is one that you use regularly, because it will be the primary email address for your Apple ID.
    The email address is not associated with any other Apple ID.
    The email address is not an iCloud email address, which is already an Apple ID. iCloud email addresses end with @icloud.com, @me.com, or @mac.com.
    To change your Apple ID, follow these steps:
    Go to My Apple ID (appleid.apple.com), click "Manage your Apple ID", and sign in.
    If you have two-step verification turned on, you'll be asked to send a verification code to the trusted device associated with your Apple ID. If you are unable to receive messages at your trusted device, follow the guidelines for what to do if you can't sign in with two-step verification.
    In the "Apple ID and Primary Email Address section," click Edit.
    Enter the email address you want to use, then click Save Changes. Apple will send a verification email to that address.
    Open the email from Apple, then click Verify Now in the email.
    When the My Apple ID page opens, sign in with your renamed Apple ID.
    If you have two-step verification turned on, you'll be asked to send a verification code to the trusted device associated with your Apple ID.
    After you see a message indicating that verification is complete, remember to update all of the stores and services that you use with your Apple ID.
    from:
    Apple ID: Changing your Apple ID
    http://support.apple.com/kb/HT5621
    If you're instead talking about changing the signed in email address you're using for the Mail app on your iPhone, check out the steps in here:
    iOS: Adding an email account
    http://support.apple.com/kb/HT4810
    Have a great day,
    Delgadoh

  • Email client and calender for StarOffice

    Just purchased StarOffice 8. Was puzzled to discover that there was no email client and calender, as there was in Star Office 5. What to do, what email client and calender shall I use? Is Sun recommending Thunderbird, or anything else? How do I get it?

    Thanks to the folks at the Microsoft Outlook for Mac Community who solved my problem!
    While I am unsure what causes this problem, once I added the user who is receiving spam from me to my Macbook Address Book App, then emails sent using whichever mail client are no longer tagged as spam.
    To me this points to a Mac/OS X problem because both email clients - Outlook for Mac and Apple Mac Mail have the same challenge, regardless of the email delivery method used- Exchange or POP.
    Shame on the rude folks at the Apple Support line who told me to reinstall the OS before anything else.

  • How to pass request parameters using html:link in struts

    Hi All,
    I am trying to send parameters to action class using <html:link>.
    Can anybody give sample code how to do it?
    Thanks in advance.
    By
    K.Siva Prasad Reddy

    hi,
    you can pass the parameters in link like this
    http://www.xyz.com&username=someuserID&password=somePassword
    username and password are parameters which you want to pass as paramets to server..hope this will work for you...
    Thanks
    Surya

  • Open Email Client

    I search for a way to send Emails with Attachments to other users. I�ve tried this with mailto: ... and jakarta commons mail. With mailto i cannot attach files to the email and commons.mail doesn�t open the Users Standard Email Client. Is there another way to open the Users Standard Email Client and attach files to the Mail ?
    Please forgive my bad English :)

    I have exactly the same demand. Have you found allrady any solution?

  • IPad2 and a new MacBook running Lion, Both Devices use the same Apple ID which is a Hotmail eMail id. Can I create a new iCloud eMail Id and use iCloud eMail and continue to use my Hotmail Id for my Apple Id and use it for iTunes, iCloud

    I have an iPad2 and a new MacBook running Mountain Lion. Both Devices use the same Apple ID which is a Hotmail eMail id. Can I create a new iCloud eMail Id and use iCloud eMail and continue to use my current Hotmail Id for my Apple Id for iTunes, iCloud.
    Note, I will use both Hotmail and iCloud eMail.

    Welcome to the Apple Community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")

  • I want to change my primary email address, and use one already associated with my account why can I not do this ?, I want to change my primary email address, and use one already associated with my account why can I not do this ?

    I want to change my primary email address, and use one already associated with my account why can I not do this ?, I want to change my primary email address, and use one already associated with my account why can I not do this ?  I don't want to create another one if I really don't need to
    Any ideas ?

    I'm afraid that once an address has been associated with an Apple ID you can't re-use it in any way. You will have to create another address (such as a free on from GMail or Yahoo for example).

  • HT1918 how do i delete an old email address and use a new one as my primary?

    how do i delete a primary email address and use a new one?

    Stop using the old one and start using the new one. Notify all your friends, family, etc. of the change in email address.
    iTunes Store: Changing Account Information

  • I got emails of a person from germany who added my email as her recovery email for her apple ID. now id like to get my email back and use it for my own apple ID without having this person using it

    I got emails of a person from germany who added my email as her recovery email for her apple ID. now id like to get my email back and use it for my own apple ID without having this person using it

    Go to this page:https://getsupport.apple.com/ServiceOptionAction.action and click the country in the upper left corner if not the US, and then call, schedule a call as you see fit.

  • Change Submit button to img and use as link for email?

    I'm trying to create a form using a submit button. I don't want to use the email link because of spoofing problems. How can I make this happen?

    Your stated question and your subject are out of synch - what is it you want to do?
    * use an image as a submit button?  If so, just insert an image field.
    * submit the form to produce an email without using the mailto - type link?  Then you would have to understand how to process form submissions using a script.
    There are only two ways to process form data -
    1.  Use mailto:[email protected] as the action of the form
    2.  Use a server-side scripting method to a) harvest the form's data, b)
    process it in some manner, e.g., enter it into a database, c) formulate and
    send an email to one or more email recipients, and d) redirect the visitor
    to some ending page
    Method 1 is quite simple, and is also the least reliable.  It depends both
    on your visitor having an email client already installed on their computer -
    this eliminates public computers, or home users without email clients
    installed (more and more it seems) - and on the installed email client responding to
    the mailto call.  It is not possible to use this method *and* send the visitor to a
    thank you page as well.
    Method 2a is the preferred method, since it eliminates the problems of method
    1, but it means that you have to grapple with server-scripting somehow (ASP,
    CF, PHP, perl, etc.).
    Method 2b would be to use some third-party form processing, like
    http://www.bebosoft.com/products/formstogo/.
    You would have to decide which of these methods is best for your needs,
    but if it's Method 2a, then start by asking your host what they provide for form
    processing.  If it's 2b, then read their FAQ/instructions carefully.

  • How do I change email client when clicking mailto links?

    I have reformatted my computer about 1 month ago. Everything almost as I had it before. Just 1 thing that is bugging me.
    '''My email client is IncrediMail'''. When clicking mailto links in Internet Explorer, my IncrediMail opens as it should do, but in Firefox (which is my preferred default web browser) it opens another tab, wanting me to sign in to GMail to compose my mail.
    I do have GMail accounts, '''BUT''' I want Firefox to open up my IncrediMail to compose my emails, just like it did before my reformat.
    Any ideas would be gratefully received ;)

    To make Firefox use Incredimail for mailto links, do the following.
    1. find the path to Incredimail on my Windows 7 machine it's:
    "C:\Program Files (x86)\IncrediMail\Bin\IncMail.exe" (you can find this by right clicking on the desktop Incredimail Icon and selecting Properties. Copy this address))
    2. Type about:config into your Firefox location bar and hit enter. If you've never edited used about:config before, you'll see a warning.
    3. Click "I'll be careful, I promise!" This will bring you to the about:config window.
    4. In the filter field type "gecko". Find the entry gecko.handlerService.schemes.mailto.0.name;
    5. Right click and select Modify.
    6. Paste or type the Incredimail path in the field provided "C:\Program Files (x86)\IncrediMail\Bin\IncMail.exe" (the qoutes are required)
    7. Make sure that network.protocol-handler.external.mailto; is set to true.
    That worked for me after many hours of searching and finding answers posted by individuals who wanted to help but didn't have a clue.

  • Convert Pages document to PDF and maintain html links accurately

    Hi - I am trying to convert a Pages document to pdf, simple right? go to Print / PDF / Save as pdf...
    I have also tried Print / Save as Postscript and Print / Open in PDF
    with the same results, which are...
    Pages dutifully converts to pdf, but on some pages where I have multiple links the formatting position of the links is all over the place on the page, some links are conflated on the page so it says one thing 'www.bbc.co.uk' for example but when you click that link it links to 'www.cnn.com' instead because CNN is the link a little further on in the line, or in the line of text above, or whole sections of the page (half of one page) become a link!
    I have checked the formatting positions and link lables over and over again in Pages and they are spot on, no confusion, no leaking in positional accuracy, it is only when converting to pdf or postscript
    I have many html links in my document so it is vital that the exact position of the formatted links in Pages is converted accurately.
    Any advice on
    a) using Pages Print command accurately? or
    b) third party apps (really dont want to go there)
    that might convert more accurately?
    many thanks

    Thank you Roger!
    I went back to 09 as suggested which identified the section in question as having a whole load of text that had become associated with one of the links - goodness knows how or why - but this wasn't apparent in the Pages 5 doc, nothing explicit signified that there was an issue with the formatting until converting to pdf
    It took me a while to strip it all out without losing all the other formatting! but done now and converting beautifully to pdf with complete accuracy in terms of formatting positions of linked text...
    I then reimported back into Pages 5 to see if I could make sense of it in the same way, long story short no chance, there is still background formatting in there, despite going through it line by line, character by character and removing all traces of any link through the 'right click' 'remove link' function - as soon as you convert to pdf lots of text becomes active again even though it is absolutely not visible in the Pages 5 doc
    Clearly, despite a strong desire to continue in 5 from a being uptodate perspective, I shall stick to the 09 world and wait for Apple to sort things out.
    If anyone from Apple is reading this, it has cost me approx 2 days of messing about to get to a point where I give up on 5 and return to 09. Please resolve as soon as possible!

  • How to use html:link in Ajax

    Hi frnds,
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
    <%@page import="java.sql.*" %>
    <html>
    <head>
    <script type="text/javascript">
    var xmlhttp;
    function loadXMLDoc()
    xmlhttp=null;
    alert(document.getElementById('country').value);
    alert(document.getElementById('url').value);
    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    url=document.getElementById('url').value+"action=search&q="+document.getElementById('country').value+"&scope=tracker";
    xmlhttp.onreadystatechange=onResponse;
    xmlhttp.open("POST",url,true,"platts","platts1234");
    xmlhttp.send("");
    function onResponse()
    if(xmlhttp.readyState!=4) return;
    if(xmlhttp.status!=200)
    alert("Problem retrieving XML data: "+xmlhttp.statusText);
    return;
    y=xmlhttp.responseXML.documentElement.getElementsByTagName("response");
    alert(y.value);
    //alert(xmlhttp.statusText);
    txt="<div style='overflow:auto;height:400px;width=1200px' align='top'>";
    txt=txt+"<table border='1' style='border-collapse: collapse' bordercolor='#111111' width='100%'>";
    txt=txt+"<tr bgcolor='#D3D3D3'>";
    txt=txt+"<th width='5%'> </th>";
    txt=txt+"<th width='10%'>UID</th>";
    txt=txt+"<th width='7%'>PUBLICATION</th>";
    txt=txt+"<th width='10%'>INFRASTRUCTURE</th>";
    txt=txt+"<th width='10%'>PROJECT</th>";
    txt=txt+"<th width='10%'>STATUS</th>";
    txt=txt+"<th width='10%'>CAPACITY</th>";
    txt=txt+"<th width='10%'>STARTUP</th>";
    txt=txt+"<th width='28%'>NOTES</th>";
    txt=txt+"</tr>";
    x=xmlhttp.responseXML.documentElement.getElementsByTagName("tracked-item");
    for (i=0;i<x.length;i++)
    txt=txt + "<tr bgcolor='white'>";
    txt=txt+ '<td width="5%"><html:link action="Unpub" name="lng" property="uri"><img src="./images/Unpub.png" height="16" width="16" border="0" title="UnPublished Icon">';
    xx=x.getElementsByTagName("uri");
    document.getElementById('uri').value=xx[0].firstChild.nodeValue;
    try
    txt=txt + "<td width='10%'><input type='text' name='uri' value="+ xx[0].firstChild.nodeValue +">" + xx[0].firstChild.nodeValue + "</td>";
    catch (er)
    txt=txt + "<td width='10%'> </td>";
    txt=txt+'</html:link>';
    xx=x[i].getElementsByTagName("Publication");
    try
    txt=txt + "<td width='7%'>" + xx[0].firstChild.nodeValue + "</td>";
    catch (er)
    txt=txt + "<td width='7%'> </td>";
    xx=x[i].getElementsByTagName("infraStructure");
    try
    txt=txt + "<td width='10%'>" + xx[0].firstChild.nodeValue + "</td>";
    catch (er)
    txt=txt + "<td width='10%'> </td>";
    xx=x[i].getElementsByTagName("project");
    try
    txt=txt + "<td width='10%'>" + xx[0].firstChild.nodeValue + "</td>";
    catch (er)
    txt=txt + "<td width='10%'> </td>";
    xx=x[i].getElementsByTagName("status");
    try
    txt=txt + "<td width='10%'>" + xx[0].firstChild.nodeValue + "</td>";
    catch (er)
    txt=txt + "<td width='10%'> </td>";
    xx=x[i].getElementsByTagName("capacity");
    try
    txt=txt + "<td width='10%'>" + xx[0].firstChild.nodeValue + "</td>";
    catch (er)
    txt=txt + "<td width='10%'> </td>";
    xx=x[i].getElementsByTagName("startup");
    try
    txt=txt + "<td width='10%'>" + xx[0].firstChild.nodeValue + "</td>";
    catch (er)
    txt=txt + "<td width='10%'> </td>";
    xx=x[i].getElementsByTagName("notes");
    try
    txt=txt + "<td width='28%'>" + xx[0].firstChild.nodeValue + "</td>";
    catch (er)
    txt=txt + "<td width='28%'> </td>";
    txt=txt + "</tr>";
    txt=txt+ "</table>";
    txt=txt+ "</div>";
    document.getElementById('tab').innerHTML=txt;
    </script>
    </head>
    <body onload="loadXMLDoc()" bgcolor="#D8D8BF" >
    <html:form action="Unpub" styleId="searchForm">
    <%@ include file="header.jsp" %>
    <img src="./images/Unpub.png" height="16" width="16"/> --> Unpublished Data
    <br><br><br><br>
    <html:hidden property="country" name="lng"/>
    <html:hidden property="uri" name="lng"/>
    <html:text property="uri" name="lng"/>
    <input type="hidden" id="url" value='<%=application.getInitParameter("url")%>'>
    <div style="overflow:auto;height:400px" align="top">
    <div id="tab"></div>
    </div>
    </html:form>
    </body>
    </html>
    Here is my code.... my intension is ... when i click the <html:link> which is there in the script i want to get the corresponding rows 'uri'. and that uri i need to pass to the bean.
    Here in this case my problem is which ever icon i press i'm able to get the last uri
    for ex:- if there are 10 records displayed in tabular format. if i press any icon i'm getting only the 10th uri....
    So, kindly please help me to sort out this problem.

    Hi Gobinath,
    Please check the below similar links
    How to display a HTML Page in Webdynpro (without IFrame)?
    can i embed an html page in the webdynpro
    HTML Editor in WebDynpro
    How to connect to a html using webdynpro
    Hope that helps
    regards
    Anil
    Message was edited by:
            Armin Reichert

Maybe you are looking for

  • Simple Problem with SQL

    Table structure is as follows. Name Char Key Promotion_Date Date Key Job Char Key Title Char Key Role Char Key Amount No Key My business requirement is to select Name of the person with the maximum Propmotion_Date and also the promotion_date should b

  • Rotate Dynamic text and make dynamic text go vertical

    Hello I am working on a visual customizer flash app in actionscript 2.0. Looking for good tutorials or examples of how to rotate dynamic text as well as how to make it vertical. Currently all the dynamic embedded text changes colors and size. Any hel

  • Cannot edit anything

    Hear my plea, mighty iPhoto gurus! I recently had a free 30-day trial version of Corel's Painter Essentials, which I decided was not for me. After the trial period was over, I was no longer able to edit anything in iPhoto (imports from my camera, fro

  • Spinning ball...HELP!

    When I open Mail I get a spinning ball instead of a cursor so am unable to use the programme. Please can anyone help? Thank you.

  • Username & Password for linksys WRT120N

    Hi, I am trying to figure out my WEP code to use to connect to XBOX LIVE. To log on to my internet we just have a WPA-Personal I think, so I have been trying to sign into my router to hopefully obtain my WEP key there, but cannot sign in. I have trie