Class SendGridPersonalization
SendGrid personalization
class SendGridPersonalization
;
auto personalization = new SendGridPersonalization("john@example.com", "John Doe");
personalization.subject("Hello World");
personalization.addSubstitution("name", "John Doe");
Constructors
Name | Description |
this
(toEmail, toName)
|
Constructor. At least one recipient is required
|
Methods
Name | Description |
addBCC
(email, name)
|
Add a BCC recipient
|
addCC
(email, name)
|
Add a CC recipient
|
addSubstitution
(key, value)
|
Add a substitution to the message
|
addTo
(email, name)
|
Add a recipient
|
sendAt
(time)
|
Set the time at which the message should be sent
|
subject
(subject)
|
Set the subject of the message
|