SEND MAILS USING HTML ONLY
SAIFULLAH🇮🇳
Posted on December 8, 2021
Do you know we can send email using html tags only!!
lets begin...
Html Email tag
HTML < a > tag provides you option to specify an email address to send an email. while using < a > tag as an Email tag, you will use
mailto:email address (we are not using http) along with href attribute.
Below is the pictorial code of above explanation 👇
Booom!!! you're done.
BONUS👻
Send Multiple email
Html tag also provide multiple option to send email to multiple email address.
see below 👇
Add CC & BCC
Html5 also allows you to add CARBON COPY(CC) and BLIND CARBON COPY (BCC) fields when you open the new mail with the help of href attribute.
Add Subject
Email is nothing without subject right 🤔, Don't worry in Html5 we can add a subject using Subject key within < a > tag.
below is the code 👇
So let's sum up our whole learning in one example below!!!
Thank you!!!
Any suggestions is appreciated.
Do check my previous posts you will find it useful..
Posted on December 8, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.