Skip to content

Commit fae716c

Browse files
committed
fix server error 500 when save to sent items is null
1 parent de3b0d0 commit fae716c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MicrosoftGraphTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected function doSend(SentMessage $message): void
3434
$email = MessageConverter::toEmail($message->getOriginalMessage());
3535
$envelope = $message->getEnvelope();
3636

37-
$html = $email->getHtmlBody();
37+
$html = (string) $email->getHtmlBody();
3838

3939
[$attachments, $html] = $this->prepareAttachments($email, $html);
4040

0 commit comments

Comments
 (0)