Skip to content

Postmark: Reply-To must be moved out of email headers #39

@medmunds

Description

@medmunds

Postmark's API disallows Reply-To in the message headers; it's only permitted in Postmark's ReplyTo param.

# This works:
EmailMessage(..., reply_to=['reply@example.com']).send()

# This doesn't:
EmailMessage(..., headers={'Reply-To': 'reply@example.com'}).send()

Using the headers was the only option before Django added the explicit reply_to param. There may be some old code out there still using the headers approach.

Anymail should relocate Reply-To from the generic headers, if needed.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions