SmtpSection.SpecifiedPickupDirectory Property

Definition

Gets the pickup directory that will be used by the SMTP client.

public:
 property System::Net::Configuration::SmtpSpecifiedPickupDirectoryElement ^ SpecifiedPickupDirectory { System::Net::Configuration::SmtpSpecifiedPickupDirectoryElement ^ get(); };
[System.Configuration.ConfigurationProperty("specifiedPickupDirectory")]
public System.Net.Configuration.SmtpSpecifiedPickupDirectoryElement SpecifiedPickupDirectory { get; }
[<System.Configuration.ConfigurationProperty("specifiedPickupDirectory")>]
member this.SpecifiedPickupDirectory : System.Net.Configuration.SmtpSpecifiedPickupDirectoryElement
Public ReadOnly Property SpecifiedPickupDirectory As SmtpSpecifiedPickupDirectoryElement

Property Value

A SmtpSpecifiedPickupDirectoryElement object that specifies the pickup directory folder.

Attributes

Remarks

Indicates that directory specified by PickupDirectoryLocation will be used as the SMTP pickup directory. If the SMTP client is unable to write to the pickup directory location an I/O exception is thrown by Send. The directory will not be created if it does not exist. The credentials of the currently running thread or process will be used to access the directory.

Applies to

See also