moto/tests/test_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
..
test_server.py Support Python 3 using six 2014-08-28 10:57:43 -04:00
test_ses_boto3.py Support optional Source, parse from header 2018-05-04 18:58:52 -07:00
test_ses.py Lints. 2017-02-23 21:37:43 -05:00