com.sun.mail.smtp.SMTPSendFailedException: 501 5.1.7 Invalid address ; nested exception is: com.sun.mail.smtp.SMTPSenderFailedException: 501 5.1.7 Invalid address

Hot problem!
This exception has a lot of traffic. You can help 16 users by writing a short tip.

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 Google Groups by eyal goltzman, 1 year ago
501 5.1.7 Invalid address ; nested exception is: com.sun.mail.smtp.SMTPSenderFailedException: 501 5.1.7 Invalid address
via Stack Overflow by Kassav'
, 6 months ago
501 Invalid command or cannot parse from address ; nested exception is: com.sun.mail.smtp.SMTPSenderFailedException: 501 Invalid command or cannot parse from address
via Oracle Community by 843830, 1 year ago
550 Sender address is missing a domain
via Stack Overflow by Bruno Gasparotto
, 2 years ago
550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
via Oracle Community by 746591, 1 year ago
553 5.1.8 ... Domain of sender address Company@abcdef123 does not exist
via Stack Overflow by Allan Braga
, 8 months ago
550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1) ; nested exception is: com.sun.mail.smtp.SMTPSenderFailedException: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
com.sun.mail.smtp.SMTPSenderFailedException: 501 5.1.7 Invalid address
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1637)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1132)
at javax.mail.Transport.send0(Transport.java:254)
at javax.mail.Transport.send(Transport.java:124)
at com.gitblit.service.MailService.run(MailService.java:275)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

6 times, 2 days 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, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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