-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from juriansluiman/hotfix/mailgun-bulk-adjustm…
…ents Hotfix/mailgun bulk adjustments
- Loading branch information
Showing
3 changed files
with
30 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,9 +92,10 @@ $message->addTo('[email protected]'); | |
$message->setSubject("Hi %recipient.name%"); | ||
$message->setBody("Hi, activate your account by clicking on http://mailgun.com/activate/%recipient.key%"); | ||
|
||
// Set all variables for [email protected] | ||
$message->setRecipientVariables('[email protected]', array('name' => 'Demo', 'key' => 'key1')); | ||
|
||
// Or add one: | ||
// Or add one by one for [email protected]: | ||
$message->addRecipientVariable('[email protected]', 'name', 'Demo'); | ||
$message->addRecipientVariable('[email protected]', 'key', 'key2'); | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters