Basic Email Link: To create a simple email link, use the following HTML code:
HTML
<a href="mailto:your@email.com">Click to Email</a>
AI-generated code. Review and use carefully. More info on FAQ.
Replace your@email.com with the actual email address. When users click on this link, it will open their default email client with the recipient field pre-filled.
Adding Multiple Email Addresses: To include multiple email addresses, separate them with commas:
HTML
<a href="mailto:john@example.com, jane@example.com">Multiple Recipients</a>
AI-generated code. Review and use carefully. More info on FAQ.
Adding a Subject Line: You can add a subject line using the subject parameter:
HTML
<a href="mailto:john@example.com?subject=Regarding%20Project">Email with Subject</a>
AI-generated code. Review and use carefully. More info on FAQ.
Adding CC and BCC: To include CC (carbon copy) and BCC (blind carbon copy) recipients:
HTML
<a href="mailto:john@example.com?cc=jack@example.com&bcc=jenny@example.com&subject=Important%20Info">CC and BCC</a>
AI-generated code. Review and use carefully. More info on FAQ.
Adding a Body Text: If you want to pre-fill the email body, use the body parameter:
HTML
<a href="mailto:john@example.com?subject=Feedback&body=Hi%20John,%0D%0A%0D%0AI%20wanted%20to%20share%20some%20feedback%20regarding%20our%20recent%20meeting.%0D%0A%0D%0AThanks!">Email with Body</a>
