Skip to content

TypeError when sending to an umlaut domain #134

@chschuermann

Description

@chschuermann

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions