Closed mostafakram closed 2 years ago
The reply_to was not added to the transmissions api from the $message object after the update in v5
$message
We basically add the reply to in the build of the Mailable object as
$this->replyTo($email, $name)
This PR adds it to the content array as mentioned in the docs of sparkpost
[ 'from' => $this->getFrom($message), 'subject' => $message->getSubject(), 'reply_to' => $this->getReplyTo($message), 'html' => $message->getHtmlBody(), 'text' => $message->getTextBody(), 'attachments' => $this->getAttachments($message), ]
Thank you for the PR, much appreciated.
The reply_to was not added to the transmissions api from the
$message
object after the update in v5We basically add the reply to in the build of the Mailable object as
This PR adds it to the content array as mentioned in the docs of sparkpost