aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes No provider for Address type: rfc822 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "No provider for Address type: rfc822" Watch "No provider for Address type: rfc822" New topic
Author

No provider for Address type: rfc822

Jawed Nazar Ali
Greenhorn

Joined: Feb 10, 2004
Posts: 15
When I send email from my local system it gives me following error. I have checked all the email addresses are ok, I couldn't find any reason why this is happening, as this is perfectly running on diiferent systems.

The error is :
javax.mail.NoSuchProviderException: No provider for Address type: rfc822

Is there any issue of security envloved in it i.e. rights or firewall blocking?

Thanks in advance for the help.

regards,
Jawed Ali


Jawed Nazar Ali<br /><a href="http://www.jawed.info" target="_blank" rel="nofollow">http://www.jawed.info</a>
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Sounds like you don't have an SMTP provider in your classpath. Make sure you have the necessary Java Mail jar files in your classpath (activation.jar and mail.jar in this case) and they are recent versions.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ghulam Rashid
Ranch Hand

Joined: Jan 14, 2002
Posts: 278
Its related to mail jar file, I had same problem but able to overcome by correcting the classpath. Hope this thread will Help Clieck Here
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No provider for Address type: rfc822
 
Similar Threads
Javax Mail API Question
Java Mail doesn't work on Solaris
No provider .........
No provider for Address type: rfc822
sending an e-mail