Sicos1977 / MsgKit

A .NET library to make MSG files without the need for Outlook
199 stars 55 forks source link

Remove Setting SentOn = DateTime.UtcNow #109

Closed jamesjohnmcguire closed 12 months ago

jamesjohnmcguire commented 12 months ago

It is better to leave this not set rather then setting the time to now, as it is too assuming about the time of the message. I came across this processing emails from 12 years ago and they were showing up as being created today. So, setting the time to now, would just incorrect and confusing. Better to leave it not set, as it will indicate incomplete information. In other places where the SentOn is attempted to be processed should compensate for no value as well.