Hi.
I'm using xpertmailer. At first, I had to figure out how to use it, but it is really fantastic. When including an inmage in your mail, it obviously means that the mail needs to be html. With xpertmail, you can have embedded images and attachments as well.
Go to http://xpertmailer.sourceforge.net/
The page below is my email page. Hope this helps. Since I have searched the net for ages to find the perfect script.
<?php
error_reporting(E_ALL);
define('DISPLAY_XPM4_ERRORS', true);
require_once 'includes/mailer/MIME.php';
$id = MIME::unique();
$text = MIME::message('Text version of message.', 'text/plain');
$html = MIME::message('
Your mail message here
Regards,
Your Website/Name
<img src="cid:'.$id.'">
','text/html');
$file = 'includes/yourlogoname.jpg';
$at[] = MIME::message(file_get_contents($file), FUNC::mime_type($file), 'yourlogoname_notthepath.jpg', null, 'base64', 'inline', $id);
$mess = MIME::compose($text, $html, $at);
$send = mail('toaddress@here.com', 'Then type your subject here', $mess['content'], 'From: you@yourmail.com'."\n".$mess['header']);
?>
If you don;t get it to work, let me know.
I don;t want to include my web address, but I'll do. To see an example, go to crimerescue.com and register for free, you will get a signup amil. Or I think you can just use the recommendation page.