mailcatcher
mailcatcher copied to clipboard
SMTP Transcript Tab
It is often useful to debug the actual SMTP conversation, to see if commands are submitted as expected.
It would be nice to a have a new tab (after "HTML", "Plain text" and "Source", but before "Analysis") called "SMTP log", showing the full SMTP log behind that message.
I love it. This has spurred me to actually complete some changes I had pending to the codebase, then I'll add a "Transcript" tab.
Another thought—what about a failed SMTP session? Should I perhaps be exposing failures as "messages"? And what about SMTP sessions which submit multiple messages? Requires further mulling.
Like it
This is more work than it sounds like, and I'd like to deduplicate the data a little which requires a rethink of the database a little. First, I'd like to update the database itself to use ActiveRecord or something. Will put this on the back burner for now.
This would be great to see as well!
Hello,
I have added PR https://github.com/sj26/mailcatcher/pull/386 tonight which replaces SMTP Service with MidiSmtpServer. There could be added a seperate Logger class which will log the information into something else.
When the PR makes it into Mailcatcher I may have a look for this issue.
Cheers Tom