I used the mailer tag lib to generate the email sent from this page :
http://www.index.co.uk/rf/navigation/product.do?SN=&versionid=723&categoryid=149949126&thisprod=179469156&product=179469156&D=189121345

click the button 'e-mail this item to a friend' on the middle right of the page and 
enter your details to
receive the mail. 
It sends html including css and images etc. The trick is to generate a normal html 
page and then send the built page as the body part of the mailer tag. 

Chris McCormack

-----Original Message-----
From: Henri Yandell [mailto:[EMAIL PROTECTED]
Sent: 04 April 2004 23:28
To: Tag Libraries Users List
Subject: Re: Embed picture in HTML email



You can't embed pictures in emails. You can have <img src="foo"> etc in
them, but the picture will be obtained from a server of some kind.

Some mail clients [okay, Outlook is the only one I know of] allow for some
proprietary xml-ish tags to be in your emails which will load resources
from attachments.

I usually send from Outlook to Pine to see this, but I'm sure there are
ways to see what the html really looks like in Outlook. Save it or
something. Anyway, you'll see lots of special tags that exist. I've never
really played with them though.

I'd definitely be interested in seeing any info which details the
pseudo-library of extra tags that Outlook converses in, but have never
really gone looking for them. Maybe it's possible to write a Java library
for creating Outlook-HTML pages and then sending it as a mime-type that
only Outlook responds to (?). We could then send 3 versions of every mail,
plain-text, html and outlook-html.

Just some thoughts...

Hen

On Mon, 5 Apr 2004, Edsard Vegter wrote:

> Hi,
>
> Using the JSP mailer tags, I can send an HTML emails. Now I'd like to to
> go one step further and have a picture in the email as well. Is it
> possible to embed a jpg of gif  in the message???  And if so, how do I do
> this


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


***********************************************
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please 
notify the sender immediately and delete this 
e-mail from your system.
You must take no action based on this, nor must 
you copy or disclose it or any part of its contents 
to any person or organisation.
Statements and opinions contained in this email may 
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.
************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to