Last active
August 30, 2021 09:30
-
-
Save zlwaterfield/01adc1ed5b0fb083b6981321f2b76b88 to your computer and use it in GitHub Desktop.
Blog post snippet - https://medium.com/gofaros/a-guide-to-inbound-parse-with-sendgrid-nodejs-382a266f8c3f
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
import multer from 'multer'; | |
// SendGrid inbound emails | |
app.post(‘/api/inbound_emails’, multer().any(), inbound.index); | |
//Other routes and body parsing | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be very helpful if you shared some of your parsing code (especially the parseEmail method where you get the body of the email).