The javamail-file-transport saves emails to files instead of sending them through SMTP server.
See the javaMail extensions project on GitHub.
It adds file transport that allows:
- save mails to files in
text
format instead of sending them
- save mails to files in
mbox
format instead of sending them
- add log info instead of sending email