Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix HTML preview for Laravel 9 #82

Merged
merged 1 commit into from Mar 2, 2022
Merged

Conversation

mrk-j
Copy link
Contributor

@mrk-j mrk-j commented Mar 2, 2022

Hi,

The HTML preview was broken in Laravel 9. We need to convert the SentMessage instance back to an Email instance so we can call the getHtmlBody() method. The body of SentMessage contains an encoded form of the e-mail.

This PR fixes this issue.

@freekmurze freekmurze merged commit bda627d into spatie:main Mar 2, 2022
@freekmurze
Copy link
Member

Thanks!

@mrk-j
Copy link
Contributor Author

mrk-j commented Mar 2, 2022

Wow, very fast (again). Thank you @freekmurze! 💪

@mrk-j mrk-j deleted the fix-laravel-9 branch March 3, 2022 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants