Method | Description | |
---|---|---|
ConstructMessage ( IMessageJobRequest messageJob, IEnumerable |
Constructs a SendGrid message based on the specified messageJob and subscribers.
|
|
SendAsync ( SendGrid message ) : Task |
Sends the specified SendGrid message.
|
|
SendGridSender ( ) : System |
Initializes a new instance of the SendGridSender class. This constructor method is used by the unit tests project. |
|
SendGridSender ( SenderProfileElement senderProfile ) : System |
Initializes a new instance of the SendGridSender class. This is the constructor that is used by the Sitefinity notifications send scheduled task to construct an initialized instance of this sender. |
|
SendMessage ( IMessageInfo messageInfo, ISubscriberRequest subscriber ) : SendResult |
Sends an instant message to the specified subscriber.
|
|
SendMessage ( IMessageJobRequest messageJob, IEnumerable |
Sends the message to the given subscribers using the SendGrid service.
|
Method | Description | |
---|---|---|
AddCustomHeaders ( SendGrid message, string>.IDictionary |
||
AddGlobalProperties ( SendGrid message, IMessageJobRequest messageJob ) : void | ||
AddSubscribersInfo ( SendGrid message, IMessageJobRequest messageJob, IEnumerable |
||
CalculateSubstitutions ( Dictionary |
||
Dispose ( ) : void | ||
GetReplacementTags ( IMessageJobRequest messageJob ) : IEnumerable |
||
InitSettings ( SenderProfileElement senderProfile ) : void | ||
InitializeSubstitutions ( IEnumerable |
public ConstructMessage ( IMessageJobRequest messageJob, IEnumerable |
||
messageJob | IMessageJobRequest | The Sitefinity message job from which to construct a SendGrid message. |
subscribers | IEnumerable |
The subscribers for the message. |
return | SendGrid.SendGridMessage |
public SendAsync ( SendGrid message ) : Task |
||
message | SendGrid | The SendGrid message to send. |
return | Task |
public SendGridSender ( SenderProfileElement senderProfile ) : System | ||
senderProfile | SenderProfileElement | The sender profile. |
return | System |
public SendMessage ( IMessageInfo messageInfo, ISubscriberRequest subscriber ) : SendResult | ||
messageInfo | IMessageInfo | The message info. |
subscriber | ISubscriberRequest | The subscriber. |
return | SendResult |
public SendMessage ( IMessageJobRequest messageJob, IEnumerable |
||
messageJob | IMessageJobRequest | The message info. |
subscribers | IEnumerable |
The subscribers. |
return | SendResult |