Allow just html_body and text_body for send_email #878

Closed
fayazkhan opened this Issue Jul 21, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Currently this fails:

>>> ses.send_email('source@example.org', 'Test', to_addresses='destination@example.org',
... text_body='Text', html_body='HTML')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: send_email() takes at least 5 arguments (6 given)

The simplest way to do this seems to be to use body instead of text_body, which is still not very intuitive.

garnaat closed this Feb 11, 2013

Owner

garnaat commented Feb 11, 2013

See #879

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment