You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed after updating from Laravel 9 to 11 that embedded email images stopped showing and the code below started returning the attachment filenames like JipwOYRW4e instead of the Content-ID like f150f0a9b59076bc9768a5910cce5d7b@symfony
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I noticed after updating from Laravel 9 to 11 that embedded email images stopped showing and the code below started returning the attachment filenames like
JipwOYRW4e
instead of the Content-ID likef150f0a9b59076bc9768a5910cce5d7b@symfony
If I override
Illuminate/Mail/Message::embed()
to return the Content ID instead like below the images end up being displayed like before again:Obviously I'd rather not override framework classes though so what's a better way of fixing this?
Beta Was this translation helpful? Give feedback.
All reactions