-
-
Notifications
You must be signed in to change notification settings - Fork 289
Closed
Description
On parsing one of my emails node crashes on mailParser.js line 1047:
} else if (this.mailData.text[i].content) {
.
The error message: Cannot read property 'content' of undefined.
This seems to be caused by #148
When debugging:
i=1,
this.mailData.html.length=2
this.mailData.text.length=1.
Without digging too much in the surrounding code i fixed this with:
} else if (i < this.mailData.text.length && this.mailData.text[i].content) {
Am I right here?
Metadata
Metadata
Assignees
Labels
No labels