#Iphone users getting blank emails
21 messages · Page 1 of 1 (latest)
Probably bad/unsupported HTML, I hade the same issue earlier this week. What does the envelope look like? BladeView? Markdown? HTML?
its a blade
``` i have used two none worked
It's most likely not a Laravel thing. If you have access to a full mail client (e.g. Outlook), you can view the source of the received email. Run that against an HTML validator that support Mail validation
We had tons of issues with getting our mails rendered on all the popular mail clients
so i should use html not blade?
Blade is fine, it has nothing to do with Blade itself. Most likely some unsupported tag/style you use
Just run the raw generated HTML against an HTML validator that supports mail client-previews
like?
i saw some issues
From line 1, column 16 to line 2, column 61
Code Extract:
TYPE html↩<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">↩```
Yep, stuff like that can cause a mail client to show an empty email 🙂
I run mailpit on local dev to test emails, once it fully works there, I use a real smtp and send real emails to test on clients
thanks a lot
@stone hollow for some reason it still shows blank for iphone users here is the current template
I don't do frontend so can't help with the HTML/CSS
@stone hollow i keep getting this warning (-1 points) There is no List-Unsubscribe header or Unsubscribe Link. how do i add this unsubscribe link becuse i added a unsubscribe link in my blade yet
@stone hollow and can this one reason be the cause of email not showing on iPhone?