We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 745f75c commit 9045168Copy full SHA for 9045168
1 file changed
Classes/Domain/Model/Mail.php
@@ -43,6 +43,9 @@ public function __construct(array $mailData)
43
$this->mailData = $mailData;
44
45
$this->body = Arrays::getValueByPath($this->mailData, 'HTML');
46
+ if ($this->body === '') {
47
+ $this->body = Arrays::getValueByPath($this->mailData, 'Text');
48
+ }
49
$this->recipients = Arrays::getValueByPath($this->mailData, 'To');
50
$this->subject = Arrays::getValueByPath($this->mailData, 'Subject');
51
}
0 commit comments