Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

[OT] Automated tool for creating mime-multipart e-mail from web page

Robert Hunt

2005-02-12

Replies:

I'd like to "push" a copy of a web page via e-mail in a "background" Tomcat thread/servlet. The idea is to serve up-to-date news and info without requiring patrons/subscribers to follow a link to the original page or require them bypass the Outlook Express warning about "some items blocked to prevent sender from identifying your computer."

That is, I'd like to use Java (and javamail) to create a mime/multipart message that bundles *everything* including items from <link>, <img> and <script> (et. al.) tags. Much like the IE "Save As..." web page archive to create a .MHT from a URL -- but have it done in an automated fashion.

Thanks.
©2008 junlu.com - Jax Systems, LLC, U.S.A.