kasdega
kasdega

Reputation: 18776

Syntax for mailto

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.

Upvotes: 5

Views: 23674

Answers (4)

bogatyrjov
bogatyrjov

Reputation: 5378

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>

Upvotes: 9

username
username

Reputation: 19640

I think you're looking for the reply-to address, which is what appears to the recipient as the sender in 99% of email clients:

mailto:[email protected]

Fancier example here:

mailto:[email protected][email protected]&subject=it%20verks!&message=get%20to%20the%20chopper!

Upvotes: 5

Tom
Tom

Reputation: 525

The from address is always the address that is in the email client that sends the message, so no.

Upvotes: 4

Jamie Dixon
Jamie Dixon

Reputation: 53991

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.

Upvotes: 5

Related Questions