Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 <specifiedPickupDirectory> Element ...
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
<specifiedPickupDirectory> Element (Network Settings)

Configures the local directory for a Simple Mail Transport Protocol (SMTP) server.

<configuration> Element
  <system.Net> Element (Network Settings)
    <mailSettings> Element (Network Settings)
      <smtp> Element (Network Settings)
        <specifiedPickupDirectory> Element (Network Settings)
<specifiedPickupDirectory
  pickupDirectoryLocation="directory" 
/>

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

pickupDirectoryLocation

The directory where applications save e-mail for later processing by the SMTP server.

Child Elements

None.

Parent Elements

Element

Description

<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>
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker