SmtpSection
Class
Definition
Represents the SMTP section in the System.Net configuration file.
public sealed class SmtpSection : System.Configuration.ConfigurationSection
- Inheritance
Inherited Members
System.Configuration.ConfigurationElement
System.Configuration.ConfigurationSection
System.Object
Remarks
This class provides programmatic access to information that can be stored in configuration files that are used by classes that support SMTP in the System.Net.Mail namespace.
Constructors
| SmtpSection() |
Initializes a new instance of the SmtpSection class. |
Properties
| DeliveryFormat |
Gets or sets the delivery format to use for sending outgoing e-mail using the Simple Mail Transport Protocol (SMTP). |
| DeliveryMethod |
Gets or sets the Simple Mail Transport Protocol (SMTP) delivery method. The default delivery method is Network. |
| From |
Gets or sets the default value that indicates who the email message is from. |
| Network |
Gets the configuration element that controls the network settings used by the Simple Mail Transport Protocol (SMTP). file.SmtpNetworkElement. |
| SpecifiedPickupDirectory |
Gets the pickup directory that will be used by the SMPT client. |