One of our older Python 2.7 projects ran into an error when sending a transactional email to a domain containing an umlaut (e.g. "someone@my-umlaut-domäin.com"). Our transmission includes recipient attributes:
sp.transmissions.send(
recipients=[{
'address': {
'name': u'Firstname Lastname',
'email': u'someone@my-umlaut-domäin.com',
}
}],
template='my-template'
)
The package version 1.1.1 gave us the following error:
At least one valid recipient is required
Updating to the latest release 1.3.2 returned this error:
TypeError: sequence item 0: expected string, dict found
Unicode recipients should be supported since package version 1.0.3. Is there something we miss?
One of our older Python 2.7 projects ran into an error when sending a transactional email to a domain containing an umlaut (e.g. "someone@my-umlaut-domäin.com"). Our transmission includes recipient attributes:
The package version 1.1.1 gave us the following error:
At least one valid recipient is requiredUpdating to the latest release 1.3.2 returned this error:
TypeError: sequence item 0: expected string, dict foundUnicode recipients should be supported since package version 1.0.3. Is there something we miss?