Skip to content

Is To: an Array or List? #45

@PythonLinks

Description

@PythonLinks

Message To: has to be a string.
message['To'] = 'Paul paul@example.com, Tres tres@example.com'

But delivery.send
delivery.send('chris@example.com', ['paul@example.com', 'tres@example.com'],
message)
Has to be an array.

It took a few hours to figure that out
It would be good if the software actually tested to make sure that one is a string, and the other an array.

Metadata

Metadata

Assignees

No one assigned

    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