We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb9a680 + 0685d45 commit 11473bbCopy full SHA for 11473bb
src/ApiClient.php
@@ -1092,12 +1092,13 @@ public function smtpSendMail($email)
1092
return $this->handleError('Empty email data');
1093
}
1094
1095
+ $emailData = $email;
1096
if (isset($email['html'])) {
- $email['html'] = base64_encode($email['html']);
1097
+ $emailData['html'] = base64_encode($email['html']);
1098
1099
1100
$data = array(
- 'email' => serialize($email),
1101
+ 'email' => serialize($emailData),
1102
);
1103
1104
$requestResult = $this->sendRequest('smtp/emails', 'POST', $data);
0 commit comments