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 Stack Overflow by Pavan
, 1 year ago
Sending the email to the following server failed : smtp.gmail.com:465
via GitHub by richardcw1
, 2 years ago
Sending the email to the following server failed : smtp.gmail.com:587
via GitHub by traviscosgrave
, 2 years ago
Sending the email to the following server failed : my.emailserver.com:25
via GitHub by kvenkat971
, 1 year ago
Sending the email to the following server failed : smtp.office365.com:587
via GitHub by pnt-peter
, 1 year ago
Sending the email to the following server failed : smtp.office365.com:587
via Stack Overflow by FkJ
, 2 years ago
Sending the email to the following server failed : email-smtp.us-east-1.amazonaws.com:587
javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbv-
534-5.7.14 6vC3XCzJqVo2heot6MTzStDDNqtrq-URUWNIxOSIYAsNlk-WOM6czk02C3Oh-AOy0YW2j6
534-5.7.14 belZo4ljAj85Tioame_Ypjq7OLXDyO5jgYJY2u5jaqWTj-Fix4W0jEzcra7dY70E8IuIzK
534-5.7.14 9-Hi7tkUDxEMFNFmyoUSQWOwb2CbWffW4hW8alSRUy0oROhTAgG2QbxxBRaPV-uDF02Nl0
534-5.7.14 p6TxvspqRYOPzvKdmzOSw3GvH4SyM> Please log in via your web browser and
534-5.7.14 then try again.
534-5.7.14  Learn more at
534 5.7.14  https://support.google.com/mail/answer/78754 g85sm2991175pfe.38 - gsmtp	at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:892)	at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:814)	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:728)	at javax.mail.Service.connect(Service.java:386)	at javax.mail.Service.connect(Service.java:245)	at javax.mail.Service.connect(Service.java:194)	at javax.mail.Transport.send0(Transport.java:253)	at javax.mail.Transport.send(Transport.java:124)	at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1411)	at org.apache.commons.mail.Email.send(Email.java:1448)	at org.graylog2.alerts.StaticEmailAlertSender.sendEmail(StaticEmailAlertSender.java:123)	at org.graylog2.alerts.StaticEmailAlertSender.sendEmails(StaticEmailAlertSender.java:257)	at org.graylog2.alerts.StaticEmailAlertSender.sendEmails(StaticEmailAlertSender.java:83)	at org.graylog2.alarmcallbacks.EmailAlarmCallback.call(EmailAlarmCallback.java:70)	at org.graylog2.rest.resources.streams.alerts.StreamAlertResource.sendDummyAlert(StreamAlertResource.java:316)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)	at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)	at org.glassfish.jersey.internal.Errors.process(Errors.java:267)	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)	at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)	at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224)	at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)