Skip to content

Commit b84ba06

Browse files
committed
Merge pull request #8 from dyninc/HTMLEMail-fix
Htmlemail fix
2 parents 6361653 + 2d854b5 commit b84ba06

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

HISTORY.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Release History
22
---------------
3+
1.0.1 (2014-08-06)
4+
++++++++++++++++++
5+
6+
* Small bugfix for an issue affecting sending EMails via the HTMLEmail class
7+
38
1.0.0 (2014-08-05)
49
++++++++++++++++++
510

dyn/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Requires Python 2.6 or higher, or the "simplejson" package.
77
"""
8-
version_info = (1, 0, 0)
8+
version_info = (1, 0, 1)
99
__name__ = 'dyn'
1010
__doc__ = 'A python wrapper for the DynDNS and DynEmail APIs'
1111
__author__ = 'Jonathan Nappi, Cole Tuininga'

dyn/mm/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def send(self, content=None):
103103
raise DynInvalidArgumentError('body and html', (None, None))
104104
api_args = cleared_class_dict(self.__dict__)
105105
if content is not None:
106-
api_args['html'] = content
106+
api_args['bodyhtml'] = content
107107
from_field = api_args.pop('from_field')
108108
api_args['from'] = from_field
109109
MMSession.get_session().execute(self.uri, 'POST', api_args)

0 commit comments

Comments
 (0)