[REBOL] Re: How to Send an Email Message as HTML?
From: tim::johnsons-web::com at: 6-Sep-2001 9:04
On Thu, Sep 06, 2001 at 07:54:17PM +1000, Allen Kamp wrote:
> Hi Tim,
>
> What type are you after?
> Do you want,
>
> A. Just send the page with links to the interent for the images?
> B. The images embedded in the email msg or
The client wants his customer to receive an email message that
has all the appearances of a web page.
Yes, it would have a background image, as will as link and
perhaps pictures. We are talking about B as one of the options.
They will have the option of sending plain text as well.
> (A). Is as simple as Cyphre example, though you may also need to set a base
> address for the page or make the links full rather than relative.
> Advantages -
> 1. Email is light and doesn't require the images to be bound in the doc
> (less band width through your mailserver)
> 2. Really easy to do.
>
> Disadvantages -
> 1. If the client is behind a fire wall or goes of line to read email, they
> may not see any pictures (just std html placeholders
>
> 2 text/html type is not understood by all email clients, (sometimes you have
> to use quoted printable with undesired results).
>
> (B) Requires creating a multipart mime document with base64 encoded
> attachments and uses CID tags (interenal doc mime content ID ref) to allow
> the html email extract and display the image when the email is shown.
>
> Advantage.
> 1. Client gets entire msg, no missing images. Great for offline
> storage/viewing.
> 2. Can included a plain text version of the same msg for mime challenged
> email readers
>
> Disadvantages.
> 1. Size of email.
> 2. More complicated to create.
> 3. may only work for a limited range of email clients.
>
> I have written a version of B but it was very tailored for a specific client
> and page format (emailing financial reports with embedded graphs), so could
> provide some incite here.
That might be very helpful to see the non-specific code.
> Cheers,
>
> Allen K
Thanks Allen
>
> ----- Original Message -----
> From: "Tim Johnson" <[tim--johnsons-web--com]>
> To: <[rebol-list--rebol--com]>
> Sent: Thursday, September 06, 2001 2:05 PM
> Subject: [REBOL] How to Send an Email Message as HTML?
>
> > Hi : I'd like to use rebol to send an email message as an
> > html document. I'm finding it quite trivial to imbed the
> > message with html code,
> > BUT
> > when the message arrives, it is just plain raw html.
> > I believe that the header needs some modification, but
> > am not sure what it is.
> >
> > Anyone have any ideas?
> > TIA
> > Tim
> > --
> > To unsubscribe from this list, please send an email to
> > [rebol-request--rebol--com] with "unsubscribe" in the
> > subject, without the quotes.
> >
> >
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.johnsons-web.com