Answers for "adding email to html"

4

how to link to an email in html

<a href = "mailto: [email protected]">Send Email</a>
Posted by: Guest on September-30-2020
5

html email links

<a href="mailto:[email protected]"> Email_id </a>
Posted by: Guest on April-30-2020
13

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>
Posted by: Guest on February-24-2020
0

html email

$mailtext = '<html>
<head>
    <title>HTML-E-Mail mit PHP erstellen</title>
</head>

<body>
...
</body>
</html>
';

$empfaenger = "[email protected]";  // Mailadresse
$absender   = "[email protected]";
$betreff    = "Mail-Test - HTML-E-Mail mit PHP erstellen";
$antwortan  = "[email protected]";

$header  = "MIME-Version: 1.0\r\n";
$header .= "Content-type: text/html; charset=utf-8\r\n";

$header .= "From: $absender\r\n";
$header .= "Reply-To: $antwortan\r\n";
// $header .= "Cc: $cc\r\n";  // falls an CC gesendet werden soll
$header .= "X-Mailer: PHP ". phpversion();

mail( $empfaenger,
      $betreff,
      $mailtext,
      $header);

echo "Mail wurde gesendet!";
Posted by: Guest on October-24-2020

Browse Popular Code Answers by Language