DeliveryMethod Property
Collapse the table of content
Expand the table of content

SmtpSection.DeliveryMethod Property

Gets or sets the SMTP delivery method. The default delivery method is Network.

Namespace: System.Net.Configuration
Assembly: System (in system.dll)

public SmtpDeliveryMethod DeliveryMethod { get; set; }
/** @property */
public SmtpDeliveryMethod get_DeliveryMethod ()

/** @property */
public void set_DeliveryMethod (SmtpDeliveryMethod value)

public function get DeliveryMethod () : SmtpDeliveryMethod

public function set DeliveryMethod (value : SmtpDeliveryMethod)

Not applicable.

Property Value

A string that represents the SMTP delivery method.

Valid values for this property are Network, PickupDirectoryFromIis, and SpecifiedPickupDirectory. These values have configurable sub-items and have a corresponding section in the System.Net configuration file. All the sections are camel-cased, to allow the users to match the delivery method with their corresponding section names.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2016 Microsoft