Post by ricardopico » Wed Mar 13, 2024 4:26 am

For some reason when sending emails (contact, orders, forgotten password) it works perfectly on GMAIL with both plain text and HTML. But when sending to Yahoo or Hotmail, the email arrives with the entire message BLANK. Only the subject is fine.

I've seen this has been fixed on previous versions such as 1.4.9.4 addressed in another topic within the file system/library/mail.php, but the fix won't work for version 2.0.2.0
Do you know how this can get fixed? Thank you!

Newbie

Posts

Joined
Wed Mar 13, 2024 4:21 am

Post by ADD Creative » Wed Mar 13, 2024 10:53 pm

Are you using Mail or SMTP in your mail settings? What version of PHP are you using?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by andrec_br » Thu Jul 04, 2024 11:43 pm

The same happens to me. I am using SMTP in my email settings. When sending to a @gmail.com works, but when trying to send to @yahoo.com or @hotmail.com, the email arrives blank.

Is OpenCart 2.0.3.1
Last edited by andrec_br on Thu Jul 04, 2024 11:50 pm, edited 1 time in total.

Newbie

Posts

Joined
Thu Jul 04, 2024 11:38 pm

Post by ADD Creative » Sun Jul 07, 2024 5:45 am

andrec_br wrote:
Thu Jul 04, 2024 11:43 pm
The same happens to me. I am using SMTP in my email settings. When sending to a @gmail.com works, but when trying to send to @yahoo.com or @hotmail.com, the email arrives blank.

Is OpenCart 2.0.3.1
Try and download the email or view the source and see if content is there, but not displaying correctly. Also test using an online email deliverability checker such as mail-tester.com.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by andrec_br » Tue Jul 09, 2024 9:38 pm

ADD Creative wrote:
Sun Jul 07, 2024 5:45 am
andrec_br wrote:
Thu Jul 04, 2024 11:43 pm
The same happens to me. I am using SMTP in my email settings. When sending to a @gmail.com works, but when trying to send to @yahoo.com or @hotmail.com, the email arrives blank.

Is OpenCart 2.0.3.1
Try and download the email or view the source and see if content is there, but not displaying correctly. Also test using an online email deliverability checker such as mail-tester.com.
I have already reviewed the source code and it looks normal. The "boundaries" are set correctly, but the content is empty. In Gmail, the content appears ok, but elsewhere it's missing. It seems to be a content block or the server cleaned the email content. Debugging the PHP code, the "lines" are being sent correctly.

Newbie

Posts

Joined
Thu Jul 04, 2024 11:38 pm

Post by ADD Creative » Tue Jul 09, 2024 11:09 pm

You could try sending with a different SMTP server or the Mail Mail Engine as a test.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 4 guests