You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Martin van den Bemt <ma...@isallineed.org> on 2001/11/06 12:18:34 UTC

RE: Sending Email

Try javamail (you can download it at java.sun.com). Don't forget to download
the activation too..

Mvgr,
Martin

> -----Original Message-----
> From: Bernhard Stoeger [mailto:Bernhard@aib.uni-linz.ac.at]
> Sent: Tuesday, November 06, 2001 12:22 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Sending Email
>
>
> Dear user community,
> I have a little problem: I successfully created a Web application
> with Tomcat, consisting of some JSP pages that communicate
> with a database. Now I want to automatically create email
> messages that inform a person about database inserts. Now my
> question: Is there a simple way to send a file via SMTP from within
> a Java program? I considered taking the JMS package, but this
> seems to be a complex matter compared to the simple task I want
> to do. Is someone of you aware of a simple SMTP client written in
> Java? Another possibility would be to call a Win32 SMTP client
> from within my Java program. Does some of you know a method to
> start shell applications from within Java?
>
> Thank you very much in advance for your help,
>
> with best regards,
>
> Bernhard Stoeger
>
>
>
> Educational Endeavor "Computer Science for the Blind",
> University of Linz, Department for Computer Science,
> Altenbergerstrasse 69, 4040 Linz, Austria.
> Bernhard Stoeger               Tel.: +43/732/2468/9608, Fax: -/9322,
> email: bernhard@mvblind.uni-linz.ac.at
>     "I can't see my computer, my computer doesn't watch me, but
>      together we conquer the world." (not Shakespeare!)
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>