For example
<a href="mailto:swagatauit@gmail.com">Send email to the Web Design Expert</a>
This will result in the visitor's email program opening a new email with your address already in the To: field.
If you wish to have a specific subject in the email, you can add it to the html code using subject= setting :
For example
<a href="mailto:swagatauit@gmail.com?subject=SweetSubject">Send email to the Web Design Expert</a>
Suppose you want an email link for your visitors containing specific text in the body of their message, simply add &body=:
For example
<a href="mailto:swagatauit@gmail.com?body=Please send me a copy of your new program!">Send email to the Web Design Expert</a>
Or combine all the options and allow your visitor to send email with the address, subject and text already entered.
For example
<a href="mailto:swagatauit@gmail.com?subject=SweetSubject&body=Please send me a copy of your new program!">Send email to the Web Design Expert</a>
Now if you want to send email to more than one address? If you just want to
send it to multiple people, simply separate the email addresses with a
comma.
For example
<a href="mailto:swagatauit@gmail.com,datta.swagato@gmail.com">Send email to the Web Design Expert</a>
But using mailto links can lead to spam.
Many spam programs are out there that surf websites harvesting email
addresses. In fact, that’s one of the most common ways that spammers get
email addresses. And even if you don’t get a lot of spam, or have a
good filter, you might still get more email than you can handle.In this situation, it can be helpful to pre-sort the email with a web
form. Using a form also has the advantage of not (always) printing an
email address on the web page for spammers to harvest.
If you have any queries about this article just make a comment ,i will reply as soon as possible.