Send Email via button press?

66 views
Skip to first unread message

Joshua V

unread,
Feb 4, 2015, 9:24:28 AM2/4/15
to par...@googlegroups.com
I am using a small HTML snippet to do this now, inside an <HTML>


<p>
Report a bug:
<a href="mailto:mye...@mydomain.com?Subject=Bug Report" target="_top">Send Mail</a>
</p>

I want to make it happen via a button press though.  So the button can be "Report bug", and it does what the html above does, how can I do this?

ParaSQL Support

unread,
Feb 4, 2015, 12:57:30 PM2/4/15
to par...@googlegroups.com
Here is one way to use the HTML widget in ParaSQL to make something that looks like a button but acts like a link:

------------- begin html snippet ---------------

<div class='BlueButton' onclick='{

var a = document.createElement("a");
a.href = "mailto:mye...@mydomain.com?Subject=Bug%20Report";
a.click();

}'>Report a Bug</div>

--------------- end of html snippet ------------

The resulting button looks like this:


Joshua V

unread,
Feb 4, 2015, 3:26:26 PM2/4/15
to par...@googlegroups.com
Just in case anyone else finds this useful, I changed 

Report a Bug

to

Feedback

Don't want people looking for issues and I do want them to give me feedback on features they want.  Just a friendly thought.
Reply all
Reply to author
Forward
0 new messages