The basic URL required is:
Code: Select all
http://mail.google.com/mail/?view=cm&fs=1&tf=1&to=bob@example.com&su=SubjectText&body=Comments
In my skin I have add a Gmail feedback function in the postloadFunc.js file:
Code: Select all
/* Gmail Feedback! */
function gmailFeedback() {
var emailTo = 'bob@example.com';
var topicTitle = window.document.title;
var topicURL = window.location.href;
window.open('http://mail.google.com/mail/?view=cm&fs=1&tf=1&to=' + emailTo + '&su=IP Office KB:%20' + encodeURIComponent(topicTitle) + '&body=URL:%20' + encodeURIComponent(topicURL) + '%0D%0A%0D%0AEnter your comments here:%20','_blank');
}
Code: Select all
<li><a href="javascript:gmailFeedback();" target="_blank" alt="Gmail" title="Gmail">Gmail</a></li>