Method | Description | |
---|---|---|
DeliverAsync ( IMail message ) : System.Threading.Tasks.Task |
Asynchronously delivers a message over SendGrid's Web interface.
|
|
GetInstance ( |
Factory method for Web transport of sendgrid messages
|
Method | Description | |
---|---|---|
AddAttachments ( IMail message, System.Net.Http.MultipartFormDataContent content ) : void |
|
|
AddFormParams ( IMail message, System.Net.Http.MultipartFormDataContent content ) : void |
|
|
AttachFiles ( IMail message, System.Net.Http.MultipartFormDataContent content ) : void | ||
AttachFormParams ( IMail message, System.Net.Http.MultipartFormDataContent content ) : void | ||
CheckForErrors ( |
||
CheckForErrorsAsync ( |
|
|
Deliver ( IMail message ) : void | ||
FetchFileBodies ( IMail message ) : IFile>>.List |
||
FetchFormParams ( IMail message ) : string>>.List |
||
FetchStreamingFileBodies ( IMail message ) : MemoryStream>>.List |
||
FindErrorsInResponse ( Stream content ) : void | ||
Web ( |
Creates a new Web interface for sending mail. Preference is using the Factory method.
|
public DeliverAsync ( IMail message ) : System.Threading.Tasks.Task | ||
message | IMail | |
return | System.Threading.Tasks.Task |
public static GetInstance ( |
||
credentials | SendGrid credentials for sending mail messages | |
https | bool | Use https? |
return |