Method | Description | |
---|---|---|
DeliverAsync ( IMail message ) : System.Threading.Tasks.Task |
Deliver an email using SMTP protocol
|
|
GetInstance ( |
Transport created to deliver messages to SendGrid using SMTP
|
Method | Description | |
---|---|---|
Deliver ( IMail message ) : void | ||
GetInstance ( ISmtpClient client, |
For Unit Testing Only!
|
|
SMTP ( ISmtpClient client, |
Transport created to deliver messages to SendGrid using SMTP
|
public DeliverAsync ( IMail message ) : System.Threading.Tasks.Task | ||
message | IMail | |
return | System.Threading.Tasks.Task |
public static GetInstance ( |
||
credentials | Sendgrid user credentials | |
host | string | MTA recieving this message. By default, sent through SendGrid. |
port | SMTP port 25 is the default. Port 465 can be used for Secure SMTP. | |
return |