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
Available since 2.0
Return to top