MessageParserConfigDatesAsUtc Property
Indicates whether MailBee should return datetime values adjusted to UTC (GMT) timezone.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public bool DatesAsUtc { get; set; }

Property Value

Type: Boolean
If true, all date properties such as Date, DateReceived, etc will return datetime values as UTC (GMT) time; if false, MailBee will return datetime values as local time. The default value is false.

If this property is set to true, all dates specified in mail message are returned as UTC. Otherwise, all dates are timezone-corrected to match local time of the computer running MailBee.

This property has immediate effect. There is no need to re-parse the message (i.e. no need to call Apply method).

Note Note
MessageParserConfig object cannot be used on its own. To access its members, the developer should use MailMessage.Parser property.
See Also