gmail url variables

前端 未结 2 652
情深已故
情深已故 2021-02-04 17:23

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=c         


        
相关标签:
2条回答
  • 2021-02-04 18:03

    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.

    0 讨论(0)
  • 2021-02-04 18:18

    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) : "");

    0 讨论(0)
提交回复
热议问题