Skip to content

Suggestion: better string representation of Email object #211

@gregsadetsky

Description

@gregsadetsky

After creating an Email object, converting it to a string representation leads to a confusing output.

Example:

e = postmark_client.emails.Email(From="sender@example.com", To="receiver@example.com", TextBody="text")
print(e)

This outputs <Email: None>

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions