Skip to content

Handle missing to/cc headers when extracting aliases from BCC-only emails#74

Open
mkpoli wants to merge 1 commit into
fterh:masterfrom
mkpoli:fix-aliases
Open

Handle missing to/cc headers when extracting aliases from BCC-only emails#74
mkpoli wants to merge 1 commit into
fterh:masterfrom
mkpoli:fix-aliases

Conversation

@mkpoli

@mkpoli mkpoli commented Nov 17, 2025

Copy link
Copy Markdown

Sometimes there are emails, such as those from GitHub, will have only BCC recipients without To or Cc headers, which will result a TypeError: Cannot read property 'value' of undefined error. This commits fix that by doing a null coercion to empty array to resolve it.

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