It is pretty simple, leave the images on the server and send the PHP + CSS to them...
$to = '[email protected]';
$subject = 'Website Change Reqest';
$headers = "From: " . strip_tags($_POST['req-email']) . "
";
$headers .= "Reply-To: ". strip_tags($_POST['req-email']) . "
";
$headers .= "CC: [email protected]
";
$headers .= "MIME-Version: 1.0
";
$headers .= "Content-Type: text/html; charset=UTF-8
";
$message = '<p><strong>This is strong text</strong> while this is not.</p>';
mail($to, $subject, $message, $headers);
It is this line that tells the mailer and the recipient that the email contains (hopefully) well formed HTML that it will need to interpret:
$headers .= "Content-Type: text/html; charset=UTF-8
";
Here is the link I got the info.. (link...)
You will need security though...
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…