org.apache.commons.mail.EmailException: Sending the email to the following server failed : localhost:25

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

Solutions on the web

via Coderanch by Michael Remijan, 1 year ago
Sending the email to the following server failed : localhost:25
via coderanch.com by Unknown author, 1 year ago
via hivmr.com by Unknown author, 1 year ago
Sending the email to the following server failed : localhost:25
via Google Groups by Bertram Hurtig, 5 months ago
Sending the email to the following server failed : smtp.gmx.de:25
via Stack Overflow by badera
, 2 years ago
Sending the email to the following server failed : mail.gmx.net:465
via Google Groups by mighty....@gmail.com, 2 years ago
Sending the email to the following serve r failed : smtp.gmail.com:465
org.apache.commons.mail.EmailException: Sending the email to the following server failed : localhost:25
at org.apache.commons.mail.Email.sendMimeMessage(Email.java:873)
at org.oak.jmce.masteralbum.jobs.MasterAlbumJob.email(MasterAlbumJob.java:198)
at org.oak.jmce.masteralbum.jobs.MasterAlbumJob.execute(MasterAlbumJob.java:153)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

Users with the same issue

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

Write tip

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