Merge pull request #1443 from Lastorder-DC/patch-1

잘못된 reply_to 타입으로 인해 Sendgrid 사용시 발생하는 오류 수정
This commit is contained in:
Kijin Sung 2020-10-22 12:22:22 +09:00 committed by GitHub
commit dc3a9df68c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,7 @@ class SendGrid extends Base implements \Rhymix\Framework\Drivers\MailInterface
$replyTo = $message->message->getReplyTo();
if ($replyTo)
{
$data['reply_to'] = array_first_key($from);
$data['reply_to']['email'] = array_first_key($from);
}
// Set the subject.