Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (5 sloc) 196 Bytes
from pyramid_mailer.interfaces import IMailer
from pyramid_mailer.mailer import DummyMailer
def includeme(config):
mailer = DummyMailer()
config.registry.registerUtility(mailer, IMailer)
Something went wrong with that request. Please try again.