For sending an email, three main fields are required. They are:
The email address of the person to whom the email will be sent,
The subject, and
The body of the email.
In addition to the above three fields, fields like Cc(Carbon Copy), Bcc(Blind Carbon Copy), etc can also be included.
The above code will display a link in the web page that will read “Click here to send feedback”.
Caution for the visitors of the website:
Be aware of spammers.
Don’t write any passwords or bank account numbers, or any other important information for that matter.
- You cannot use the mailto attribute if you don’t have an email client.