示例#1
0
 /// <summary>
 /// Constructor for your SMTP slot class.
 /// </summary>
 /// <param name="configuration">IConfiguration dependency provided argument.</param>
 /// <param name="client">SMTP client implementation</param>
 public MailSmtpSend(IConfiguration configuration, contracts.ISmtpClient client)
 {
     _configuration = configuration;
     _client        = client;
 }
 /// <summary>
 /// Constructor for your SMTP slot class.
 /// </summary>
 /// <param name="server">Connection settings for connecting to SMTP server, in addition to default from part.</param>
 /// <param name="client">SMTP client implementation.</param>
 public MailSmtpSend(ConnectionSettingsSmtp server, contracts.ISmtpClient client)
 {
     _server = server;
     _client = client;
 }