Hello,

I am trying to use the apache/james:demo-3.6.0 docker image but I cannot send a 
message via SMTP.
This is the error I am getting:

javax.mail.SendFailedException: Invalid Addresses;  nested exception is: 
com.sun.mail.smtp.SMTPAddressFailedException: 530 5.7.1 Authentication Required

I have tried several of the available docker images but I get the same error.

Can you tell me what I am doing wrong?

I am using Spring Boot and I am using user01@james.local, which is one of the 
default users created by this docker image.

This is my mail configuration:

  mail:
    host: localhost
    port: 25
    properties.mail.smtp.auth: false
    properties.mail.smtp.starttls.enable: false
    properties.mail.imap.host: localhost
    properties.mail.imap.port: 143
    properties.mail.imap.starttls.enable: false



Many thanks,
Sean
Confidential Communication: The contents of this e-mail including any 
attachment are confidential and intended solely for the person(s) to whom they 
are addressed. Any reader of this email who is not the intended recipient is 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this e-mail in error, please 
notify the sender immediately and delete all copies from your computer system. 
Subsequent alterations to this email after its transmission will be disregarded.

Reply via email to