Or read Jason's "Java Servlet Programming, 2d Ed," pp 550ff.

Cheers!
Mark

----- Original Message -----
From: "Pierre-Yves Saumont" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 9:57 AM
Subject: 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