Re: including an image in a mail component
Re: including an image in a mail component
- Subject: Re: including an image in a mail component
- From: Andrew Lindesay <email@hidden>
- Date: Tue, 7 Jul 2009 20:41:33 +1200
Hello Johan;
I have removed a component from LEWOStuff last month that does this.
I have removed it because I am converting all components like this
into WODynamicElements and since I have not used this component for
some time, I removed it instead of converting it. I have ZIP'ed this
up for you to look at and attached to this email.
Essentially it renders <IMG ...> tags into the HTML body of the
email. For each image that it renders, it will compile a MIME body
part. the IMG src uses a "cid" (content id) URL which refers to the
content-id in the MIME body part. At the end of the appendToResponse
phase, the MIME body parts are added to the assembled email and send
with the HTML alternative. The image is therefore in the email
message and not just downloaded from the email client over the
internet as the user reads the email.
Are you using my barcode generator that can do PNG or SVG? It is nice
with XHTML that one can just run SVG straight into the XHTML content,
but I would guess most email clients are probably going to ignore
inline SVG.
Let me know how you get on.
cheers.
i would like to send an image with a mail component.
I am wondering how I should do that.
___
Andrew Lindesay
www.lindesay.co.nz
Attachment:
cid-image-for-johan.zip
Description: Zip archive
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden