Click or drag to resize
MimeKit

ParserOptionsAllowAddressesWithoutDomain Property

Get or set whether the rfc822 address parser should allow addresses without a domain.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public bool AllowAddressesWithoutDomain { get; set; }

Property Value

Boolean
true if the address parser should allow mailbox addresses without a domain; otherwise, false.
Remarks

In general, you'll probably want this value to be true (the default) as it allows maximum interoperability with older email messages that may contain local UNIX addresses.

This option exists in order to allow parsing of mailbox addresses that do not have an @domain component. These types of addresses are rare and were typically only used when sending mail to other users on the same UNIX system.

See Also