Skip to content

Sendmail transport fails with AttributeError: 'Message' object has no attribute 'sendmail_f' #76

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

Closed
pbrackin opened this issue Mar 16, 2017 · 1 comment
Labels
1.bug An error has been encountered that is preventing utilization. transport:sendmail

Comments

@pbrackin
Copy link

pbrackin commented Mar 16, 2017

See traceback below. I was able to get it to work using hasattr to gate that if statement. try/except could also be used. Maybe a better solution elsewhere tho. Could not find any other refs to sendmail_f. I presume y'all were thinking of the "envelop sender" option? Let me know if u want a PR with my patch...

Shutting down transport due to unhandled exception.
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/marrow/mailer/manager/futures.py", line 28, in worker
result = transport.deliver(message)
File "/usr/local/lib/python3.4/dist-packages/marrow/mailer/transport/sendmail.py", line 29, in deliver
if message.sendmail_f:
AttributeError: 'Message' object has no attribute 'sendmail_f'

@micksp
Copy link

micksp commented May 13, 2020

hi @pbrackin did you fix this issue?
File "......site-packages/marrow/mailer/transport/sendmail.py", line 29, in deliver if message.sendmail_f: AttributeError: 'Message' object has no attribute 'sendmail_f'

chrido added a commit to chrido/mailer that referenced this issue Oct 23, 2020
@amcgregor amcgregor added 1.bug An error has been encountered that is preventing utilization. transport:sendmail labels Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.bug An error has been encountered that is preventing utilization. transport:sendmail
Projects
None yet
Development

No branches or pull requests

3 participants