Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to modify "from" field in mailto link?

I'm trying to get a mailto link that would open a new outlook email window with a modified from field (i.e. to use a secondary account as it were). Is that possible?

like image 700
Ilia Draznin Avatar asked Feb 21 '12 16:02

Ilia Draznin


People also ask

How to create a mailto hyperlink in Excel?

1. Select a cell which you want to create a mailto hyperlink. 2. Click Insert> Hyperlink. See screenshot: 3. In theInsert Hyperlink dialog box, you need to: 1). Click E-mail Addressin the Link topane; 2). Type the recipient’s email address into the E-mail addressbox;

How to send email through outlook based on created mailing list fields?

Easily send email through Outlook based on fields of created mailing list in Excel: The Send Emails utility of Kutools for Excel helps users sending email through Outlook based on created mailing list in Excel. See screen shot: Create a mailing list with all needed mail fields and select them all.

What is mailto and how does it work?

MAILTO is designed to facilitate a sender contacting an address that has been listed on a website. So there are very few things that the sender would expect to have dictated by the website. Even the standard options can be pretty annoying if handled badly by the website owner.

How to send an email to a mailing list?

In the Send Emails dialog box, you can see all fields are filled with the corresponding mailing list content, compose the mail body as you need, check the Send emails via Outlook box, and finally click the Send button to send the email.


1 Answers

No. Certainly not in most of the popular mail clients.

I assume you are wanting to do this just to save time in your own mail client. I would certainly be annoyed with a website that tried to change my from or reply-to address, so I'd expect my mail client to ignore it.

MAILTO is designed to facilitate a sender contacting an address that has been listed on a website. So there are very few things that the sender would expect to have dictated by the website. Even the standard options can be pretty annoying if handled badly by the website owner.

Your options are pretty much limited to

  • subject
  • body
  • cc
  • bcc

Even if a client were to support From (and I am not aware of any that do), there is no obvious way for them to handle edge-case scenarios such as a from address that has not been configured in the mail client.

What do you need this for? Perhaps you can use a script to send mails and dynamically set the From header. For example, PHP has a mail() function which would allow you to set a custom From address (and modify other headers).

like image 131
SimonMayer Avatar answered Sep 19 '22 14:09

SimonMayer