1

Is there are any way to add predefined from email address on html mailto syntax. So Microsoft Outlook open with a redefined from email address. Any way to do it with php/javascript or anything else.

RyPeck
  • 7,830
  • 3
  • 38
  • 58
  • You really can't rely on the email agent paying attention to much beyond the implicit "To:" address from a link. – Pointy Sep 23 '13 at 17:07

1 Answers1

1

The references RFC is: https://www.rfc-editor.org/rfc/rfc6068

You can't set the FROM value but you can do something like this:

<a href="mailto:your@email.address?cc=jose@email.address&bcc=john@email.address&subject=Comments about the color blue&body=The following is everything I have to say about the color blue.">Contact Us</a> 
Community
  • 1
  • 1
M. Foti
  • 3,156
  • 2
  • 16
  • 14