Skip to content

Commit

Permalink
Fix for sending mail templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawngee committed May 3, 2019
1 parent 41a770c commit 4268dca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions classes/Models/MailTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ public function send($email=null, $data=[], $inline=[]) {
}

foreach($this->toEmails as $toEmail) {
$toSet=true;
$messageBldr->addToRecipient($toEmail->email);
}

Expand Down
2 changes: 1 addition & 1 deletion stem-mail-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin URI: https://github.com/jawngee/the-wonder
Description: Model for mail templates
Author: interfacelab
Version: 0.1.7
Version: 0.1.8
Author URI: http://interfacelab.io
*/

Expand Down

0 comments on commit 4268dca

Please sign in to comment.