Skip to content

Send the Reply-To a message asks for - #9

Merged
SupraSummus merged 1 commit into
mainfrom
claude/reply-to
Sep 14, 2026
Merged

SupraSummus merged 1 commit into
mainfrom
claude/reply-to

Conversation

@SupraSummus

Copy link
Copy Markdown
Member

A message could set reply_to and the backend would drop it: the payload was built from the sender, the recipients, the content and the attachments, so a reply went to the from-field address, which is typically unattended.

GetResponse names a reply-to the way it names a sender, by the id of a from-field registered on the account, so the address has to be in GETRESPONSE_ADDRESSES like from_email — an unregistered one is refused rather than sent under the sender's id. Django allows a list where the API holds one, so a second address is refused too rather than one of them silently picked.

Also fixes the resolver's error message, which said Given from_email (...) on a path that now serves two fields — misleading for a caller whose from_email is registered and whose reply address is not.

README.md documents the requirement; tests/test_payload.py covers the four cases. pytest 5 passed, flake8 clean.

Not touched, but worth a look separately: cc/bcc go into the payload as plain address strings where the API documents [{"email": ..., "name": ...}] objects.

🤖 Generated with Claude Code

https://claude.ai/code/session_012EQ7nV1HE5GJjQ3JTP4hQ6


Generated by Claude Code

A message could set `reply_to` and the backend would drop it: the payload was
built from the sender, the recipients, the content and the attachments, so a
reply went to the from-field address, which is typically unattended.

GetResponse names a reply-to the way it names a sender, by the id of a
from-field registered on the account, so the address has to be in
`GETRESPONSE_ADDRESSES` like `from_email` — an unregistered one is refused
rather than sent under the sender's id. Django allows a list where the API holds
one, so a second address is refused too rather than one of them silently picked.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012EQ7nV1HE5GJjQ3JTP4hQ6
@SupraSummus
SupraSummus merged commit 46306af into main Sep 14, 2026
2 checks passed
@SupraSummus
SupraSummus deleted the claude/reply-to branch September 14, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant