Posts

Showing posts from July, 2020

Gmail Web-link - MailTo:

Image
I had a little trouble finding additional details on how to populate HTML links to prefill GMail so I thought I should post it here for later. Standard Mail To for local mail clients Standard HTML MailTo: <a href="mailto:someone@example.com?subject=Populate%20Subject&body=Please %20fill%20in%20your%20email%20body%20here&bcc=blind-carbon-copy@example.com"><button type="button">Send Email</button></a>   Send Email Google (GMail) This example will populate the email as shown above: <a href="https://mail.google.com/mail/?view=cm&fs=1&to=recipient@example.com&su=Populate%20Subject&body=Please %20fill%20in%20your%20email%20body%20here&bcc=blind-carbon-copy@example.com"><button type="button">Send Email</button></a>   Send Email As you can see there's not that much difference apart from "subject" shortening to "su" and the initial URL forma