The problem could be with the SMTP server. It might be either refusing to
send out mails on your behalf or it does not send to recipients outside your
domain. I had this problem and spent one day to figure out that the problem
was with the SMTP server. My network administrator granted some rights and
it started working!
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Supreme Being
Sent: Saturday, May 12, 2001 12:10 PM
To: [EMAIL PROTECTED]
Subject: Re: JavaMail with JSP : The Error msg
This is the error that i get on running the code :
javax.mail.SendFailedException: Sending failed; nested exception is:
javax.mail.SendFailedException: Invalid Addresses; nested exception is:
javax.mail.SendFailedException: 553 sorry, that domain isn't in my list of
allowed rcpthosts (#5.7.1
>How is your smtp server setup? Does it require user name and password to
send mail? It looks as if you are not setting these values in your
properties object.
What smtp server? i'm just using the JavaMail API for sending email through
my JSP page. I'm not running any smtp server. I hae the JRun studio 3.0
which i run on my win98 PC to use JSP. I downloaded & installed the red.
JavaMail & JAF from Sun's site.
SupremeBeing
>Supreme Being wrote:
>
>> i succesfully downloaded the JavaMail and JAF from sun's site in order to
use them with my JSP which i'm running on JRun Studio on my win98 PC. i
added the CLASSPATH (in autoexec.bat) as told by the docs along with them.
Now what? coz nothing is working. I have this HTML page and a JSP page which
is supposed to send email...but it's not working... i'm getting a
java.SendMailException error. what do i have to do? is there something i
missed?
>> The codes i'm using are as follows :
>> [The HTML Page] : javamail.html
>>
>> <FORM action="sendjavamail.jsp" method="post">
>> <TABLE>
>> <TR>
>> <TD width="50%"><font face="arial" color=#ffdead size=2>
>> To:<BR><INPUT name="to" size="25">
>> </TD>
>> <TD width="50%"><font face="arial" color=#ffdead size=2>
>> From:<BR><INPUT name="from" size="25">
>> </TD>
>> </TR>
>> <TR>
>> <TD colspan="2"><font face="arial" color=#ffdead size=2>
>> Subject:<BR><INPUT name="subject" size="50">
>> </TD>
>> </TR>
>> <TR>
>> <TD colspan="2"><font face="arial" color=#ffdead size=2>
>> <P>Message:<BR><TEXTAREA name="text" rows=5 cols=30>
------------------------------------------------------------
Are you a Hoboe? Hobnob at http://www.hoboe.com
Click here -> http://www.hoboe.com Global Mail Access
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets