Add tags to mailables

This commit is contained in:
David Bomba 2022-07-31 22:33:00 +10:00
parent 4de240c3ab
commit b38b0e4517
2 changed files with 4 additions and 2 deletions

View File

@ -119,7 +119,8 @@ class TemplateEmail extends Mailable
->withSymfonyMessage(function ($message) use ($company) {
$message->getHeaders()->addTextHeader('Tag', $company->company_key);
$message->invitation = $this->invitation;
});
})
->tag($company->company_key);
/*In the hosted platform we need to slow things down a little for Storage to catch up.*/

View File

@ -113,7 +113,8 @@ class VendorTemplateEmail extends Mailable
->withSymfonyMessage(function ($message) {
$message->getHeaders()->addTextHeader('Tag', $this->company->company_key);
$message->invitation = $this->invitation;
});
})
->tag($this->company->company_key);
/*In the hosted platform we need to slow things down a little for Storage to catch up.*/
// if (Ninja::isHosted()) {