Partager via


MailItem.OriginatingDomain property

When overridden in a derived class, the OriginatingDomain property gets the HELO or EHLO string presented to the Simple Mail Transfer Protocol (SMTP) server.

Namespace:  Microsoft.Exchange.Data.Transport
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property OriginatingDomain As String
    Get
'Usage
Dim instance As MailItem
Dim value As String

value = instance.OriginatingDomain
public abstract string OriginatingDomain { get; }

Property value

Type: System.String

See also

Reference

MailItem class

MailItem members

Microsoft.Exchange.Data.Transport namespace