html email example

Example 1: email link html

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

Example 2: html email link

<!-- 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>

Example 3: html send email

<!-- Code by Scratchy -->
<!-- Twitter: @S_cratchy-->

<a href="mailto:[email protected]"<button>E-Mail me</a>

Example 4: email header html

$headers = 'MIME-Version: 1.0' . "\r\n";
    $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

    // Additional headers
    $headers .= 'To:' . "\r\n";
    $headers .= 'From: Admin<[email protected]>' . "\r\n";
    // Mail it
    mail($to, $subject, $message, $headers);

Example 5: how to put your email in html

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

Example 6: html send email

<a href="mailto:[email protected]"<button>E-Mail me</a>

Tags:

Html Example