You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently i am using the docker version 1.6.5 within my integration tests.
I want to add a test with an invalid email (like www.abc.de).
Greenmail should reject this invalid email and answer with javax.mail.SendFailedException.
that feature is currently only possible when using GreenMail as part of a junit test.
Would you expect for SMTP RCTP command e.g. SMTP 501 Syntax error found in command parameters or arguments / 5.1.3 Bad destination mailbox address syntax ?
This behavior could be enabled for GreenMail SMTP via -Dgreenmail.smtp.address.strict via GREENMAIL_OPTS env.
Hello,
currently i am using the docker version 1.6.5 within my integration tests.
I want to add a test with an invalid email (like www.abc.de).
Greenmail should reject this invalid email and answer with javax.mail.SendFailedException.
how can i achieve this requirement?
This problem may be solved by implementing an instance of MessageDeliveryHandler within an junit test - as seen within https://github.com/greenmail-mail-test/greenmail/blob/master/greenmail-core/src/test/java/com/icegreen/greenmail/examples/ExampleUndeliverableTest.java.
but i do not use greenmail within junit test - i use the docker version.
Can i add an impl of MessageDeliveryHandler to the used docker version?
Thank you!
The text was updated successfully, but these errors were encountered: