The JavaMail API comes with an IMAP example, but if you just want your
servlet to send e-mail, try opening a socket to an SMTP server. It's a lot
easier.

-S

-----Original Message-----
From:   A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology. [mailto:[EMAIL PROTECTED]] On Behalf Of
Giscard Girard
Sent:   Wednesday, February 24, 1999 10:15 PM
To:     [EMAIL PROTECTED]
Subject:        mailing example?

Hi all,  I'm looking for an example on how to mail from a servlet, i
downloaded the JavaMail API, but i'd like to see an example somewhere to
help me out.  Right now i'm mailing out with an ASP activex control, but
i'm going to be posting to a servlet so i'd like to send the mail from
the servlet.


Thanks,

Giscard Girard

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
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