mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Update comment
This commit is contained in:
parent
70deb348cf
commit
2ae7219e35
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ export const inboundEmailHandler = Sentry.GCPFunction.wrapHttpFunction(
|
|||
const forwardedTo = headers['x-forwarded-to']?.toString().split(',')[0]
|
||||
// x-forwarded-for is a space separated list of email address
|
||||
// the first one is the forwarding email sender and the last one is the recipient
|
||||
// e.g. 'X-Forwarded-For: sender@omnivore.app recipient@omnivore.app
|
||||
// e.g. 'X-Forwarded-For: sender@omnivore.app recipient@omnivore.app'
|
||||
const forwardedFrom = headers['x-forwarded-for']?.toString().split(' ')[0]
|
||||
|
||||
// if an email is forwarded to the inbox, the to is the forwarding email recipient
|
||||
|
|
|
|||
Loading…
Reference in a new issue