System.Net.Mail.SmtpClient.PickupDirectoryLocation Property

Gets or sets the folder where applications save mail messages to be processed by the local SMTP server.

Syntax

public string PickupDirectoryLocation { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Mail messages in the pickup directory are automatically sent by a local SMTP server (if present), such as IIS.

The default value for this property can also be set in a machine or application configuration file. Any changes made to the SmtpClient.PickupDirectoryLocation property override the configuration file settings.

Requirements

Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0