Home > Code > HTML > Send email through HTML hyperlink mailto

Send email through HTML hyperlink mailto

by Shiva murugan   on May 04, 2011   Category: HTML   |  Views: 1545    |  Points: 25   |  Bronze 

Sometime we need to send email when user clicks on the hypelink that will open the outlook message with subject, body etc. see the below code snippet

<a href="mailto:test@gmail.com?SUBJECT=test subject&BODY=test message">Click here to send mail</a>

Post Code  |  Code Snippet Home

User Responses

No response found, be the first to review this code snippet.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts