Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SpecifiedPickupDirectory Property

SmtpSection.SpecifiedPickupDirectory Property

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

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

public SmtpSpecifiedPickupDirectoryElement SpecifiedPickupDirectory { get; }

Property Value

Type: System.Net.Configuration.SmtpSpecifiedPickupDirectoryElement
A SmtpSpecifiedPickupDirectoryElement object that specifies the pickup directory folder.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft