Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Any built in direct SMTP server?

From: sf::sabufrancis::com at: 11-Nov-2003 23:08

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 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