sj26 / mailcatcher

Catches mail and serves it through a dream.
http://mailcatcher.me
MIT License
6.3k stars 575 forks source link

Handling large amounts of messages #464

Closed adamsilkcm closed 3 years ago

adamsilkcm commented 3 years ago

With a large number of messages, the web interface becomes effectively unresponsive as the number of new messages continues to tick up. They can be cleared or read from the API (though getting individual messages requires guessing their ID or otherwise ingesting JSON into something else), but I'd request that the web interface stop loading old messages after a certain amount unless requested via a "Load Next 1000 messages" or similar button (continuing to add new ones should be fine, though).

Please let me know if further information is needed.

sj26 commented 3 years ago

MailCatcher isn't designed to keep large amounts of messages. I'd suggest clearing your messages more frequently.

sj26 commented 3 years ago

There are some improvements in the latest beta which should make it slightly better. The message body is no longer included in the API responses when listing messages.

To try it out in the latest beta:

gem install --pre mailcatcher