Skip to content

Commit

Permalink
Added reply-to email to forwarded email
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Haedrich committed Feb 6, 2024
1 parent a5be56d commit 493c83c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion postservice/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]",
Expand Down

0 comments on commit 493c83c

Please sign in to comment.