GlobalFixBadDates Property |
Namespace: MailBee
For instance, the message has Date: Fri, 30 May 2014 09:51:79 GMT in its headers. 79 is incorrect value for seconds. By default, MailBee will not parse such date. You can, however, enable FixBadDates and MailBee will return the datetime which corresponds to 30 May 2014 09:51:59 GMT value.
This lets the application ignore small errors in Date values which are often the case with messages created by some low quality mail programs or spam generators.
MailMessage.SetDateFromString method, Envelope.Date (and all other properties dealing with MIME Date format) are also affected by this setting.
Note |
---|
MailBee can fix only time part in wrong dates. Wrong days, months or years cannot be tolerated because the rounding difference will be too significant for getting satisfactory results. |