-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Save to directory #13
Comments
Would this be better handled using something like MongoDB? Implementing a file based storage backend would be problematic (search, paging, etc) - though not impossible. Would you need it as a full storage backend, or just an additional option to also spool messages to disk? |
+1 on not requiring MongoDB. I totally see the value if it's already part of someone's stack, but I think it might be more common to write emails to disk. It would be awesome if MailHog could persist messages to directories of .eml files, instead of memory/Mongo |
Actually what I want.. Is for mailhog to sump these into a directory.. Mainly cos it would be interesting to create a mailhog reader.. |
This is partially implemented in v0.2.0 - everything except search should work. You can pass in It currently writes files in a very MailHog specific format - I'll eventually make this fully compatible with Maildir so its contents can be read by a mail server like Courier-IMAP |
Really practical feature! But nothing worked out. When I tested it by running |
You missed the other flag:
|
Possibility to save messages to a directory..
eg
-storage directory -directory /home/tests/mail/
Rationale, I want to go an investigate sent messages later, and having the messages in files would help
The text was updated successfully, but these errors were encountered: