MailBee.NET Objects 4.0

MessageParserConfig.DatesAsUtc Property

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

public bool DatesAsUtc {get; set;}

Property Value

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.

Remarks

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.

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

See Also

MessageParserConfig Class | MailBee.Mime Namespace