C# Class SendGrid.Transport.SMTP.SmtpWrapper

Implementation of SmtpClient wrapper, separated to allow dependency injection
Inheritance: ISmtpClient
Mostra file Open project: advancedrei/sendgridplus-csharp

Public Methods

Method Description
Send ( MailMessage mime ) : void
SmtpWrapper ( string host, Int32 port, NetworkCredential credentials, SmtpDeliveryMethod deliveryMethod ) : System

Method Details

Send() public method

public Send ( MailMessage mime ) : void
mime System.Net.Mail.MailMessage
return void

SmtpWrapper() public method

public SmtpWrapper ( string host, Int32 port, NetworkCredential credentials, SmtpDeliveryMethod deliveryMethod ) : System
host string
port System.Int32
credentials System.Net.NetworkCredential
deliveryMethod SmtpDeliveryMethod
return System