[ale] [rharris at internap.com: Bah]

Megan Golding mgolding at sdf.lonestar.org
Tue Aug 26 13:32:28 EDT 2003


On Tue, Aug 26, 2003 at 12:42:01PM -0400, Irv Mullins wrote:
> On Tuesday 26 August 2003 11:10 am, Robert L. Harris wrote:
> > I'm trying to embed an image in a message for my wife.
> > <html>
> > <body>
> > <img
> > src="http://www.1800flowers.com/800f_assets/images/flowers/images/shop/cata
> >log/1274.jpg"> </body>
> > </html>
> >
> > All that shows up in my email is the img src line but no image.  Anyone
> > ever done this before?  She reads mail with netscape.
> 
> I think maybe you have to have something more than just the html code.
> Perhaps some multi-part header info?

You want to set the content type to text/html. Don't know how to do this in mutt (or any other text email 
reader, for that matter).

I write HTML mails with PHP using phpmailer (http://phpmailer.sourceforge.net/). Code looks something like 
this:

$mail = new PHPMailer();
$mail->IsMail(); 
$mail->FromName = "Meg";
$mail->From = "meg at test.com";
$mail->AddAddress("$value");
$mail->IsHTML(true);
$mail->Body = 
	'<html><head></head>
	<body>
	Test message
	<img src="http://location/of/image">
	</body>';
$mail->Send()

Probably not quite the answer you were looking for, but maybe it'll help.

Meg


-- 
mgolding at sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list