File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Java Mail doesn't work on Solaris Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "Java Mail doesn Watch "Java Mail doesn New topic
Author

Java Mail doesn't work on Solaris

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi!
I've been having some problems with sending an e-mail.
I have an applet which sends an e-mail on Windows, and it works perfect, I tested it with a Blazix Web Server and when I open it on the navigator window and send a mail, it works fine!
The problem comes along when I try to do the same thing on Solaris with Apache web server... it doesn't send the message!
I had already put the jar files (activation, mail and pop) on the classpath and it doesn't work yet.
Could you help me please?
Do I need to do anything else?
Do the Server (where Solaris is) needs to have a special configuration?
Thanks in advance...
Nancy.
Praveen Kesani
Greenhorn

Joined: Jul 05, 2000
Posts: 24
Check that you use the proper User/Passwd (case-sensitive) for Java Mail. Also you can turn the debug flag on and get more information the failure.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Check that you use the proper User/Passwd (case-sensitive) for Java Mail. Also you can turn the debug flag on and get more information the failure.
Sorry, but where do I can turn the debug flag on? In fact I'm new with Java.
The most strange thing is that I've seen the logs files (Tomcat and Apache) and there is nothing there... it looks like sending the mail is success.
Even when I press the button to send the mail, the applet doesn't change its behavior; and when the button is released the applet goes on very well.
I can't understand why it happens... Java Mail should have the same behavior on Solaris as on Windows (I think!)..
Could you help me?
or Do you have any idea?
Thank you very much..
Nancy.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
HI AGAIN!!!
I've found an error in the logs files of Tomcat!!
This is when I send the mail on Solaris:
javax.mail.NoSuchProviderException: No provider for Address type: rfc822

Do you know what it means?
THANK YOU VERY MUCH AGAIN!!!
Nancy
Dave Turner
Ranch Hand

Joined: Mar 13, 2001
Posts: 60
hi
rfc 822 is the standard for internet text messages, but it dates back to 1982, so it doesnt make it any clearer why you are getting this problem on solaris.
Dave
[ January 23, 2002: Message edited by: Dave Turner ]
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
nancycm,
Please note that we have a naming requirement at JavaRanch. Please change your display name to your real first name - space - your real last name. Thanks.
Tom - Moderator


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
 
subject: Java Mail doesn't work on Solaris
 
Threads others viewed
Java Mail send message to Yahoo account
email not reaching recipient
sending an e-mail
Yahoo Mail is Rejecting My Mail Server
want to generate html formatted email that supports outlook?
MyEclipse, The Clear Choice