You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert Hunt <ro...@comcast.net> on 2005/02/12 20:07:52 UTC

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

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.

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

Posted by Huy <hu...@swiftdsl.com.au>.
Robert Hunt wrote:
> 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.

why not send a pdf instead.

huy

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


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

Posted by Mike Curwen <g_...@globallyboundless.com>.
my ISP does this... send an email with image attachments, that all show up
in the right places, and without that "download" warning.  

I'd be more interested in a really good JavaMail tutorial that shows me how
to create the javamail mime multi-parts. Every page I find on google seems
to have a slightly different take on it. 


Mike Curwen




> -----Original Message-----
> From: Robert Hunt [mailto:robert-hunt@comcast.net] 
> Sent: Saturday, February 12, 2005 1:08 PM
> To: tomcat-user@jakarta.apache.org
> Subject: [OT] Automated tool for creating mime-multipart 
> e-mail from web page
> 
> 
> 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.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org