moto/moto/ses
Ben Jolitz d21c387eb6 Support optional Source, parse from header
The Email ``from`` header is either formatted as ``name <address>`` or ``address``.

This commit will use `parseaddr` to extract a ``(name, address)`` tuple, which we will use the ``address`` to check if it's verified.

Also support the case where ``Source`` is omitted (which AWS requires the ``from`` header to be set).
2018-05-04 18:58:52 -07:00
..
__init__.py Lints. 2017-02-23 21:37:43 -05:00
exceptions.py update SES backend to support domain identities and multiple recipients 2016-03-09 10:18:50 -06:00
models.py Support optional Source, parse from header 2018-05-04 18:58:52 -07:00
responses.py Support optional Source, parse from header 2018-05-04 18:58:52 -07:00
urls.py Get standalone server mode working for all tests. 2017-02-23 19:43:48 -05:00
utils.py Support Python 3 using six 2014-08-28 10:57:43 -04:00