How to force web-browser to navigate to Gmail and create (if logged in) new letter with filled in field 'To' on click on mailto:SomeMail@blabla.example?
How to force web-browser to navigate to Gmail and create (if logged in) new letter with filled in field 'To' on click on mailto:SomeMail@blabla.example?
<a href="https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=someone@example.com" target="_blank">Title</a>
To add Subject, Body, CC, and BCC, just add the parameters to the URL:
Example:
https://mail.google.com/mail/?view=cm&fs=1&to=someone@example.com&cc=someone@ola.example&bcc=someone.else@example.com&su=SUBJECT&body=BODY
Or:
<a href="https://mail.google.com/mail/?view=cm&fs=1&to=someone@example.com&cc=someone@ola.example&bcc=someone.else@example.com&su=SUBJECT&body=BODY" target="_blank">Mail Us</a>
Above works also works. I tried following link in my <a> tag.
https://mail.google.com/mail/u/0/#inbox?compose=new