marrow / mailer

A light-weight, modular, message representation and mail delivery framework for Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Message without `author` or `to` goes `/dev/null`

nandoflorestan opened this issue · comments

If by mistake one creates a Message without "author" or "to", marrow.mailer 4.0 says it sends the message, actually does not try to send it (after authenticating), and does not raise an exception. I don't think this behaviour is good; I'd prefer it to throw an exception.