Daniel, I still can't manage to send you the code example by mail, so I put
it here :

http://volga.wantjava.com/MailExample.zip

Pierre-Yves

-----Message d'origine-----
De : A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]De la part de
Pierre-Yves Saumont
Envoy� : jeudi 21 juin 2001 15:57
� : [EMAIL PROTECTED]
Objet : Re: Sending Mail


>Does anybody knows how can I send Email messages
>using Java?
>I tried the JavaMail API examples, but didn�t have success.

The simplest way is to talk directly to your smtp server. You just have to
open a socket to your mail server, create a writer and a reader to it and
send SMTP commands and data, and close the connection.

If you need, I can send you a code example (hundred lines, so I won't post
it here.)

Pierre-Yves

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to