feat: handle attachments

This commit is contained in:
2020-05-29 12:00:33 +02:00
parent a33b4416f2
commit e0a805cbdb
2 changed files with 31 additions and 4 deletions

View File

@@ -26,6 +26,13 @@ class BluescaleMailTemplate implements \JsonSerializable
public $recipients = [];
/**
* The attachments for the message
*
* @var array
*/
public $attachments = [];
/**
* The reply address for the message
*
* @var array
@@ -159,6 +166,7 @@ class BluescaleMailTemplate implements \JsonSerializable
'sender' => $this->sender,
'replyTo' => $this->replyTo,
'recipients' => $this->recipients,
'attachments' => $this->attachments,
'parameters' => $this->parameters,
];
}