javax.mail.NoSuchProviderException: Unable to locate provider for protocol: smtp

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via geronimo-user by darvs, 1 year ago
Unable to locate provider for protocol: smtp
via geronimo-user by darvs, 1 year ago
Unable to locate provider for protocol: smtp
via nabble.com by Unknown author, 1 year ago
Unable to locate provider for protocol: smtp
via Stack Overflow by Unknown author, 2 years ago
Unable to locate provider for protocol: smtp
via Stack Overflow by Kris
, 2 years ago
Unable to locate provider for protocol: smtp
javax.mail.NoSuchProviderException: Unable to locate provider for protocol: smtp
at javax.mail.Session.getProvider(Session.java:237)
at javax.mail.Session.getTransport(Session.java:346)
at javax.mail.Session.getTransport(Session.java:376)
at javax.mail.Transport.send(Transport.java:67)
at javax.mail.Transport.send(Transport.java:48)
at com.infotek.fwk.ejbmail.MailService.sendMail(MailService.java:185)
at com.infotek.fwk.ejbmail.MailService.onMessage(MailService.java:50)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.