> I'm trying to send email through JSP, here is my code:
> <%@ page import="java.util.*, javax.mail.*, javax.mail.internet.*,
[quoted text clipped - 42 lines]
>
> What could be the problem?
The mail server that you are connecting to (128.9.100.20) is refusing to relay
mail for the recipient address "rudranee@gmail.com".

Signature
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
Roedy Green - 17 Mar 2008 13:04 GMT
>The mail server that you are connecting to (128.9.100.20) is refusing to relay
>mail for the recipient address "rudranee@gmail.com".
usually a SMTP server will refuse to forward mail for just anyone,
only mail for people at that domain.
You may have to logon. see http://mindprod.com/products1.html#BULK
using an "Authenticator". See
http://mindprod.com/jgloss/authentication.html
It may only accept mail from certain IPs, e.g. ones serviced by the
ISP who owns the mail server.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com