Configures the local directory for a Simple Mail Transport Protocol (SMTP) server.
<specifiedPickupDirectory pickupDirectoryLocation="directory" />
The following sections describe attributes, child elements, and parent elements.
Attribute
Description
pickupDirectoryLocation
The directory where applications save e-mail for later processing by the SMTP server.
None.
Element
<smtp> Element (Network Settings)
Configures Simple Mail Transport Protocol (SMTP) mail sending options.
The specifiedPickupDirectory attribute sets the directory where applications save mail messages to be processed by the SMTP server.
The following code example specifies c:\maildrop as the mail pickup directory.
<configuration> <system.net> <mailSettings> <smtp deliveryMethod="specifiedPickupDirectory"> <specifiedPickupDirectory pickupDirectoryLocation="c:\maildrop" /> </smtp> </mailSettings> </system.net> </configuration>