#Iphone users getting blank emails

21 messages · Page 1 of 1 (latest)

viscid pawn
#

My email verification algoritm works fine in andriod but there are iphone users who keep telling me their email is blank i wonder why this image attached is what their emails look like

stone hollow
#

Probably bad/unsupported HTML, I hade the same issue earlier this week. What does the envelope look like? BladeView? Markdown? HTML?

viscid pawn
stone hollow
#

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

viscid pawn
stone hollow
#

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

viscid pawn
#

i saw some issues

#
From line 1, column 16 to line 2, column 61
Code Extract:
TYPE html↩<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">↩```
stone hollow
#

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

viscid pawn
#

@stone hollow for some reason it still shows blank for iphone users here is the current template

stone hollow
#

I don't do frontend so can't help with the HTML/CSS

viscid pawn
#

@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

viscid pawn
#

@stone hollow and can this one reason be the cause of email not showing on iPhone?