Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle spam email #15

Open
davidgatti opened this issue Apr 5, 2019 · 0 comments
Open

Handle spam email #15

davidgatti opened this issue Apr 5, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@davidgatti
Copy link
Member

Error Symptoms

Spam email won't have a To field. They will have To: undisclosed-recipients:;. Because of this the code will crash since there is no email to be seen.

Error Message

TypeError: Cannot read property 'match' of undefined
at /var/task/index.js:337:8
at new Promise (<anonymous>)
at extract_data (/var/task/index.js:323:9)
at /var/task/index.js:65:11
at <anonymous>

Possible solution

Create a fork that will handle spam emails and good ones.

@davidgatti davidgatti added the bug Something isn't working label Apr 5, 2019
@davidgatti davidgatti self-assigned this Apr 5, 2019
@davidgatti davidgatti removed their assignment Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant