• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Mail doesn't work on Solaris

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!