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

"bad mail input format" with dma / error not raised #1

Open
blueyed opened this issue Jan 11, 2014 · 0 comments
Open

"bad mail input format" with dma / error not raised #1

blueyed opened this issue Jan 11, 2014 · 0 comments

Comments

@blueyed
Copy link
Contributor

blueyed commented Jan 11, 2014

I have just tried using django-sendmail-backend, but my local MTA (dma, DragonFly Mail Agent) complained.

This is due to its line limit of 1000 bytes. I have filed an issue about this at corecode/dma#18.

But I also think that django-sendmail-backend should report/raise this error.

blueyed added a commit to blueyed/django-sendmail-backend that referenced this issue Jan 11, 2014
  - sendmail: use '-t' to parse recipients from mail, instead of only
    sending to the first one
  - do not use shell=True!
  - capture stderr and use it together with returncode to raise an
    exception

Ref: perenecabuto#1
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