Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No provider for Address type: rfc822

 
Jawed Nazar Ali
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ghulam Rashid
Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic