Skip to content
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

Allow flag in .ini/settings for using debug mailer #85

Open
digitalresistor opened this issue Feb 4, 2017 · 0 comments
Open

Allow flag in .ini/settings for using debug mailer #85

digitalresistor opened this issue Feb 4, 2017 · 0 comments

Comments

@digitalresistor
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant