use JavaMail
It gives you a lot more flexibility to send e-mail. I had a bit of problems
using Sun's SmtpClient myself. JavaMail fixed 'em all up.
http://java.sun.com/products/javamail/index.html
vic .
----- Original Message -----
From: "vikas yadav" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 30, 2000 3:45 PM
Subject: Problem in sending mail from servlet.
> There is problem sending mail from the
> servlet. Any one who knows how to do it ,please help
> it's urgent. I heve configured ftgate mail server and
> want to send mail in our LAN using SmtpClient. It
> gives 'time out talking to smtp server' problem.
>
> Please Help !!!
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.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