Hi:
Thanks for the links.
Here is the problem I'm facing with HTML formatted emails

The objective is to extract the HTML portion of the email; then add a footer
to it just befor </BODY> and then send such a modified email back. What I
was doing is that once I detect that the email does not have a
content-type:text/plain then I search for </BODY> and do the replacement on
the contents. (I know this is a very trivial and a simplistic approach but I
am just getting to grips with this)

Sadly, this approach does not work. I think the multpart boundaries must be
getting upset because the html gets all garbled when it arrives back at the
email client.

I've tried using Brett Handley's excellent routines at www.codeconscious.com
to get the structure of a mime-email. I know how to read the structure. But
I havent figured out how to write back the structure after the
modifications. Any help would be appreciated

Regards

Sabu

----- Original Message ----- 
From: "Matt MacDonald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 11, 2003 9:53 PM
Subject: [REBOL] Re: Any built in direct SMTP server?


>
> Go to www.h-o-h.org/simtpop.r for a very general SMTP/POP server.  You
will
> need to edit it to fit your specific needs.  I used this to make a MS
> Exchange SMTP Gateway to rout email messages sent from exchange through
> rebol and into a database.
>
> For the MIME info, check out http://www.faqs.org/rfcs/rfc-sidx21.html and
> look at RFCs 2045 - 2049.  I got most of my info from there.  Other than
> that, it's basically just parsing the email message for the headers you
need
> to alter.
>
> HTH
> Matt
> ------------------------------------------------------
> Hi:
> I am looking for an SMTP server written in Rebol itself.
>
> Also info regarding how to construct a multipart mime email message
> (Basically, I need to examine an earlier email, put some extra HTML inside
> the HTML portion of the email message and send the email back.)
>
> Any help for both these would be greatly appreciated
>
> More questions later :-)
>
> Thanks in advance
>
> Regards
>
> Sabu Francis
>
> _________________________________________________________________
> Concerned that messages may bounce because your Hotmail account is over
> limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es
>
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
>

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to