Getting the below error while parsing email from yahoo.
TypeError: Cannot read property 'startsWith' of undefined at parseContentType (/home/arun/workspace/vidwaan-api/node_modules/letterparser/lib/parser.js:56:29) at Object.parseBody (/home/arun/workspace/vidwaan-api/node_modules/letterparser/lib/parser.js:136:22) at Object.parse (/home/arun/workspace/vidwaan-api/node_modules/letterparser/lib/index.js:32:30)
Getting the below error while parsing email from yahoo.
TypeError: Cannot read property 'startsWith' of undefined at parseContentType (/home/arun/workspace/vidwaan-api/node_modules/letterparser/lib/parser.js:56:29) at Object.parseBody (/home/arun/workspace/vidwaan-api/node_modules/letterparser/lib/parser.js:136:22) at Object.parse (/home/arun/workspace/vidwaan-api/node_modules/letterparser/lib/index.js:32:30)