Set Subject, Body, CC, BCC And Content Of Email Using mailto

For More Videos Visit Our YouTube Channel




Here we consider how to set Subject And Content Of Email Using mailto: Lets start with one example here. Suppose we have a link for sending mail as shown below.

<a href="mailto:support@technomark.in" > Send Email </a>



Here we make use of mailto: for sending email.
But we can append Subject and Content to this mailto: as shown below.

<a href="mailto:support@technomark.in ?subject=Leave Request&body= 
Sir, I will be on leave due to some health reason."
> Send Email </a>



Like that, we can add cc and bcc for emailing as shown below.

<a href="mailto:support@technomark.in ?subject=Leave Request&body= 
Sir, I will be on leave due to some health reason.&cc=support1@technomark.in &bcc=support2@technomark.in"
> Send Email </a>



By this way, we can set all fields for sending email using mailto:.