7

I've set up my mailto links so that they open Gmail.

// you can code a url like this to push things into gmail
https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=user@example.com

I understand there are several other variables:

&su=   // email subject 
&body=  // body text
&disablechatbrowsercheck=1  // pretty self explanatory

The thing is I can't find a list anywhere with the possible ones.

Has anyone composed such a thing or found such a list.


Edit: You can now resort to classic mailto links to pass subject and body params:

<a href="mailto:a@example.net?subject=Your Subject&body=Your Message">email here</a>
Frankie
  • 24,627
  • 10
  • 79
  • 121

2 Answers2

1

why bother doing that ? the mailto link will open the default mail client you have installed
i think having gmail notifier installed is enough
and that will be better to users with no gmail.
see here Making Gmail your default mail application or this Make mailto: links open in gmail
if not i found this example from here:

https://mail.google.com/mail?view=cm&tf=0" +
(emailTo ? ("&to=" + emailTo) : "") +
(emailCC ? ("&cc=" + emailCC) : "") +
(emailSubject ? ("&su=" + emailSubject) : "") +
(emailBody ? ("&body=" + emailBody) : "");

Community
  • 1
  • 1
yael alfasi
  • 692
  • 1
  • 4
  • 13
  • perfect! Will accept. As for your question "why bother"? It was to integrate with an in-house platform. We were trying to auto-fill the subject and body fields with some extra-information to lower the work load on people who were giving tech support. The system worked more or less as a ticket system with some special particularities. – Frankie Feb 20 '12 at 19:05
  • 2
    The link to G-Mailto parameters does not work anymore. That's why is recommended to paste the information directly into the answer instead of adding links. – Daniel Marín Feb 23 '15 at 09:35
0

The example URLs for standard gmail, above, return a google error.

The February 2014 post to thread 2583928 recommends replacing view=cm&fs=1&tf=1 with &v=b&cs=wh.

Community
  • 1
  • 1
Matthew Millar
  • 122
  • 1
  • 4