ReceiveConnector.Banner Property
Gets or sets the SMTP 220 banner.
Namespace: Microsoft.Exchange.Data.Directory.SystemConfiguration
Assembly: Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)
Syntax
'Declaration
<ParameterAttribute(Mandatory := False)> _
Public Property Banner As String
Get
Set
'Usage
Dim instance As ReceiveConnector
Dim value As String
value = instance.Banner
instance.Banner = value
[ParameterAttribute(Mandatory = false)]
public string Banner { get; set; }
Property Value
Type: System.String
The SMTP 220 banner.
Remarks
The default value of the Banner property is the following:
220 <Servername> Microsoft ESMTP MAIL service ready at <RegionalDay-Date-24HourTimeFormat> <RegionalTimeZoneOffset>
When you specify a value for the Banner property you must use the following syntax:
220 <Remaining Banner Text>
220 is the default service ready SMTP response code as defined in RFC 2821.