Check out example codes for "html mail". It will help you in understanding the concepts better.

Code Example 1

<a href="mailto:[email protected]">Contattaci</a>

Code Example 2

<a href="mailto:[email protected]">Mail me!</a>

Code Example 3

<!-- Those percent twenty things be HTML Encoded spaces old bean, true magic. Not that Dynamo nonsense -->
<a href="mailto:[email protected]?Subject=Summat%20or%20Other&body=I%20Have%20been%20for%20a%20massive%20poo">Sendeth This Mail</a>

Code Example 4

<?php
$to = $_POST['email'];
$subject = "Email Subject";

$message = 'Dear '.$_POST['name'].',<br>';
$message .= "We welcome you to be part of family<br><br>";
$message .= "Regards,<br>";

// Always set content-type when sending HTML email
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";

// More headers
$headers .= 'From: <[email protected]>' . "\r\n";
$headers .= 'Cc: [email protected]' . "\r\n";

mail($to,$subject,$message,$headers);
?>

Code Example 5

<a href="mailto:[email protected]">Contattaci</a>

Code Example 6

<a href="mailto:[email protected]"> Email_id </a>

Learn ReactJs, React Native from akashmittal.com