Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Syntax for mailto

Tags:

html

email

When using a mailto link like this:

<A HREF="mailto:[email protected]" TITLE="Subject">Link Text</A>

is it possible to set the FROM: address?

UPDATE: I forgot to mention that I have a captive audience who will ALL be using IE8 and Outlook.

like image 744
kasdega Avatar asked Jul 22 '11 16:07

kasdega


People also ask

How do you send a mailto link?

In the message, select the text or picture that you want to display as the link. On the Insert tab, click Link or Hyperlink. Under Link to, click E-mail Address. Either type the email address that you want in the E-mail address box, or select an email address in the Recently used e-mail addresses list.

How do I create a mailto form in HTML?

For creating a simple Mailto form, you need to use the <form> element with its action (specifies the address (URL) where to submit the form), method (specifies the HTTP method to use when submitting the form) and enctype (specifies the encoding of the submitted data) attributes, insert a mailto: link, a <textarea> ...

How does mailto work HTML?

The basics of mailto Simply insert their addresses separated with commas. Clicking on such a link will open the default email app or load a web client in the same or a new tab.


2 Answers

It isn't, unfortunately - You can only specify the subject, cc, bcc and the body of the message. Check the full syntax : http://www.ianr.unl.edu/internet/mailto.html updated

For example,

<a href="mailto:[email protected]?Subject=Challenge yourself">Send</a>
like image 139
bogatyrjov Avatar answered Oct 20 '22 18:10

bogatyrjov


The short answer is no.

mailto will open your prefered email client. The from address will be set up in your mail client.

Given that your users will all be using Outlook, their email address will already be the from address.

like image 5
Jamie Dixon Avatar answered Oct 20 '22 17:10

Jamie Dixon