-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added reply-to email to forwarded email
- Loading branch information
Paul Haedrich
committed
Feb 6, 2024
1 parent
a5be56d
commit 493c83c
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,10 +132,11 @@ app.post("/mail/forward", async (c) => { | |
personalizations: [ | ||
{ | ||
to: [ { email: forward }], // who to send the email to, add your own recipient | ||
reply_to: { email: mail["from"] }, // who to reply to | ||
dkim_domain: "justatemp.com", | ||
dkim_selector: "mailchannels", // [selector]._domainkey.yourdomain.com | ||
dkim_private_key: c.env.DKIM_PRIVATE_KEY, | ||
}, | ||
} | ||
], | ||
from: { | ||
email: "[email protected]", | ||
|