netDumbster.smtp.Configuration.Configure C# (CSharp) Method

Configure() public static method

Configures this instance.
public static Configure ( ) : Configuration
return Configuration
        public static Configuration Configure()
        {
            return new Configuration();
        }

Usage Example

Example #1
0
 /// <summary>
 /// Prevents a default instance of the <see cref="SimpleSmtpServer"/> class from being created.
 /// </summary>
 /// <param name="port">The port.</param>
 /// <param name="useMessageStore">if set to <c>true</c> [use message store].</param>
 private SimpleSmtpServer(int port, bool useMessageStore)
     : this(Configuration.Configure().WithPort(port).EnableMessageStore(useMessageStore))
 {
 }
All Usage Examples Of netDumbster.smtp.Configuration::Configure