Open nbaksalyar opened 8 years ago
Thanks for the input.
We have something like this planned in #40 - where you can define event rules. Do you have any concrete error cases in mind?
Do you have any concrete error cases in mind?
I guess cases available in MailHog would be a good start:
SMTPAddressFailedException
);SMTPSenderFailedException
).These should cover most of the basic SMTP errors. I'm not sure about IMAP, though.
It would be nice if GreenMail had an option to explicitly define error responses to test error handling in user's code.
For example check MailHog, a fake SMTP server. It has a special mode to randomly reject connections, authentications, etc.
Another good example is Netflix's Chaos Monkey that is used to test distributed systems.