pyramid_mailer icon indicating copy to clipboard operation
pyramid_mailer copied to clipboard

Allow flag in .ini/settings for using debug mailer

Open digitalresistor opened this issue 8 years ago • 0 comments

I prefer to explicitly config.include() my app's dependencies rather than relying on the .ini file to correctly include them.

It would be neat if there was a flag I could set in my settings that would cause pyramid_mailer to use pyramid_mailer.debug instead even when config.include('pyramid_mailer') is used. For right now I just spin up a fake SMTP server using Python and capture messages sent that way, but a debug mailer that sends output to stdout/logging would make debugging simpler.

digitalresistor avatar Feb 04 '17 22:02 digitalresistor