Hi, I am new to sending email
especially HTML email.
I want to include some images bit am not sure if this will work:
// message
$message = "Hello $friend_name, this message is from $sender_name \n";
$message .= "Email address : $sender_email \n \n";
$message .= $message1;
$message = $message.'
<html>
<head>
<title>Yodbod.com the Free Ads site</title>
</head>
<body>
<table border="0" cellspacing="0" cellpadding="1" >
<tr>
<td rowspan = "2" ><img alt="yod" src="yod.jpg" height="140" width="100"/></td>
<td ><img alt="bod" src="bod1.jpg"/></td>
<td><img alt="bod" src="simpler.jpg"/></td>
</tr>
<tr><td><img alt="bod" src="<?php echo "$x_pix1"; ?>"/></td></tr>
</table>
</body>
</html>
';
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'From: Postcard Central <postcards@yodbod.com>' . "\r\n";
$headers .= 'Bcc: boss@yodbod.com' . "\r\n";
// Mail it
mail($to, $subject, $message, $headers);
Will the images in the HTML content be sent with my "postcard" or will they just be referenced to my server ? - I don't want to drain my server resources I would rather send the images ... bt how ?
Thanks