javax.mail.SendFailedException: Invalid Addresses

Hello

I cannot find the cause nor the solution to this problem and hope that someone can shed some light on it.

When we click the email send button we get this error message javax.mail.SendFailedException: Invalid Addresses

This website was migrated from one server to another.  The application was working perfectly on the old server.

Would appreciate any advice to solve this problem.

Regards

Ken

kwwellsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

fargoCommented:
Hi,

This is an error reply from your SMTP mail server. It indicates that your mail server is not configured to allow you to send mail through it. Check your ISP's smtp mail server settings and adapt them.

fargo
0
radarshCommented:
Which server are you making use of? Check the logs for more information on the exception.

________
radarsh
0
kwwellsAuthor Commented:
I am running a linux (fedora) server, the application runs under tomcat.  I have checked the catalina.log which show the loading of modules but no exception for that user.  The sendmail log shows very little for that user ( -  - mikeippo x 32104 32105    /home/mikeippo /bin/bash), the apache error logs do not show this error. Could this be an application generated error?

I have asked the hosting company if there is a sendmail configuration file as I am trying to verify the smtp address that this is using.  The hosting company beleives that SMTP dependant applications would use 'localhost' or 127.0.0.1 for communication to the SMTP server if it was not specified, i am trying to verify that.

Ken
OS Info

Operating system Linux
Kernel version 2.6.5-1.358smp
Machine Type i686
Apache version 1.3.34 (Unix)
PERL version 5.8.7
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
PHP version 4.4.1
MySQL version 4.0.25-standard
cPanel Build 10.8.1-RELEASE 113
Theme cPanel X v2.5.0  
cPanel Pro 1.0 (RC36)  
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

kwwellsAuthor Commented:
Hi,
Thanks for the help it was an SMTP problem.

I have another problem with the resolution of this error.

I have a problem compiling the class.

This is the error I get,  am I missing a parameter?


root@server101 [/home/mikeippo/www/WEB-INF/classes]# javac -J-Xms48m util/UserControl.java

util/UserControl.java:5: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
                          ^
1 error

I appreciate your help

Ken



0
radarshCommented:
Put the servlet-api.jar from your tomcat lib directory into your classpath.

________
radarsh
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kwwellsAuthor Commented:
Hello

I copied servlet-api.jar to the following directories and still get this error

root@server101 [/home/mikeippo/www/WEB-INF/classes]# javac -J-Xms48m util/UserControl.java
util/UserControl.java:5: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
                          ^
1 error
root@server101 [/home/mikeippo/www/WEB-INF/classes]#

The folders are

WEB-INF
WEB-INF/lib
WEB-INF/lib/javac/
WEB-INF/lib/javac/servlets
WEB-INF/classes
WEB-INF/Classes/util

Ken
0
kwwellsAuthor Commented:
WEB-INF/classes/util
0
kwwellsAuthor Commented:
how can I view the class path for this account
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JSP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.