sj26 / mailcatcher

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

SMTP Transcript Tab #128

Open elygre opened 10 years ago

elygre commented 10 years ago

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.

sj26 commented 10 years ago

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.

vjeantet commented 10 years ago

Like it

sj26 commented 10 years ago

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.

ghuntley commented 9 years ago

This would be great to see as well!

TomFreudenberg commented 5 years ago

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