Need to open default mailer when i click a link in php? -


my requirement open default mailer whenever click on link. don't know how can 1 give ideas that.

use mailto in href attribute opening default mail client send email.

subject & target attributes optional here.

usage example -

<a href="mailto:test@gmail.com?subject=hello%20again" target="_top"> send mail</a> 

for more info - http://www.w3.org/tr/wd-html40-970917/struct/links.html#h-13.2.2


Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

php - Calling a template part from a post -

How to mention the localhost in android -