You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per title currently including (via config.include('pyramid_mailer') pyramid_mailer breaks my application with:
File "/home/ergo/Private/workspace/pyramid_mailer/pyramid_mailer/init.py", line 11, in mailer_factory_from_settings
return Mailer.from_settings(settings, prefix)
File "/home/ergo/Private/workspace/pyramid_mailer/pyramid_mailer/mailer.py", line 281, in from_settings
return cls(username=username, password=password, **kwargs)
File "/home/ergo/Private/workspace/pyramid_mailer/pyramid_mailer/mailer.py", line 226, in init
self.smtp_mailer, transaction_manager=transaction_manager)
TypeError: init() got an unexpected keyword argument 'transaction_manager'
I've made a PR that resolves this, the test suite passes and I was able to successfully send email via: mailer.send(message) and mailer.send_immediatelly(message)
The text was updated successfully, but these errors were encountered:
See my comment on #81. I am sorry for the trouble but I think you need to just pin pyramid_mailer alongside repoze.sendmail until you can upgrade to 4.2+.
Thanks.. we have not been able to upgrade to repoze.sendmail because repoze/repoze.sendmail#31 which is a very serious bug which has not been fixed / released in quite sometime.
As per title currently including (via
config.include('pyramid_mailer'
) pyramid_mailer breaks my application with:I've made a PR that resolves this, the test suite passes and I was able to successfully send email via:
mailer.send(message)
andmailer.send_immediatelly(message)
The text was updated successfully, but these errors were encountered: