לוחות מודעות לוחות מודעות

חזרה

RE: Hyperlink to launch GMail?

מתג
Hyperlink to launch GMail?
תשובה
15:37 21/01/22
Hello!  
We've been wanting to incorporate a 'Report an Issue' button in our courses for a while.  I have read up on how to launch an email with prepopulated fields, but we use GMail.  Is there any work around or option for that? 
Thanks! 
0 (0 הצבעות)

RE: Hyperlink to launch GMail?
תשובה
16:59 21/01/22 כתגובה ל-Scott Sheridan
Hi Scott,
An interesting question. If you're using mailto, then it depends on your what your user's email client is. You can't override that.

I found this post that uses a hyperlink instead of mailto: https://stackoverflow.com/questions/6548570/url-to-compose-a-message-in-gmail-with-full-gmail-interface-and-specified-to-b

Seems to work pretty well for me (see image below) - https://lrs.smartbuilder.com/l/i030kyon8kd2

Note that if you're trying to populate the body or the subject with special characters (like a "?") or pull in dynamic text, you'll have to start encoding the characters to make them websafe. For example, ? would be %3F.

- Nav

קבצים מצורפים:

קובץ מצורף

0 (0 הצבעות)

RE: Hyperlink to launch GMail?
תשובה
18:19 21/01/22 כתגובה ל-Navdeep Dhillon
Thanks, Nav!  That works perfectly! 
Scott
0 (0 הצבעות)