Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 My confirmation emails are a mess
Author « Topic »  

John Nolan
Advanced Member

Canada
406 Posts

Posted - 09/15/2023 :  08:07:16  
Now I seem to have messed up my confirmation emails. I be grateful for some guidance.

I have html format email selected, but the emails arrive looking like this:

jnolan@cp1163.blacksun.ca
11:05#8239;AM (0 minutes ago)
to boxoffice

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><style type="text/css">body{font-size:11px; font-family: Tahoma, Helvetica, Arial, Verdana}hr{height: 0;border-width: 1px 0 0 0;border-style: solid;border-color: #006AC8;}</style></head><body class="receiptbody"><style type="text/css">
body {
background-color: #fcf2cc;
font-size: 14px;
font-family: Georgia, Times New Roman, serif
}

hr {
height: 0;
border-width: 1px 0 0 0;
border-style: solid;
border-color: #006AC8;
}</style>
<style type="text/css">

dbdave
ECT Moderator

USA
10385 Posts

Posted - 09/15/2023 :  08:13:54  
Are you using one of the html editors?
If so, does the email look correct in the editor?

David

John Nolan
Advanced Member

Canada
406 Posts

Posted - 09/15/2023 :  08:21:31  
Yes, it looks correct in the editor. i'm using ckeditor.

Frankly, I'd be happy at this point to just have plain text...how can I revert?

Edited by - John Nolan on 09/15/2023 10:22:30

Vince
Administrator

42692 Posts

Posted - 09/15/2023 :  11:06:32  
Hi John
To go back to the plain text editor just remove the parameter $htmleditor (or comment it out with "//") in your includes.php file.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

John Nolan
Advanced Member

Canada
406 Posts

Posted - 09/15/2023 :  11:24:28  
Thanks Vince.

I removed all the markup from my confirmation email, and selected "Text format emails" in my admin.

That, of course, removed the mess.

But I do wish I could get back to formatted emails. Is it possible that I need to contact my hosting company? I've had this working for about a decade!

I notice the "from" field is from my host address, rather than my site address.

Edited by - John Nolan on 09/15/2023 11:26:30

John Nolan
Advanced Member

Canada
406 Posts

Posted - 09/15/2023 :  18:01:43  
Anyone have any clues for me on how to get html email running again?

Vince
Administrator

42692 Posts

Posted - 09/16/2023 :  06:17:02  
Hi John
You don't have to use the HTML Editor to use an HTML email. I just stuck, "html email template" into Google and there seems to be lots of free templates available as a starting point.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

John Nolan
Advanced Member

Canada
406 Posts

Posted - 09/16/2023 :  06:36:02  
Thanks Vince.

No, I'm okay with the html part, it's just that I can't seem to get my emails from the store to arrive in the recipient's in box as HTML—they appear as the sort of code I posted in my first message.

This, in spite of the fact that I have had HTML working from the store for years, and I didn't changed any of the email code, or the store's email settings. (Until yesterday, when I removed the HTML from my outgoing messages and switch store to plain text email.)

So, I'm puzzled as to how to get my emails back to their "former glory".

John Nolan
Advanced Member

Canada
406 Posts

Posted - 09/17/2023 :  12:47:39  
Okay, I downgraded my PHP from 8.1 to 7.4 and the problem went away. My emails now arrive as formatted HYML.

I had forgotten that I upgraded the PJHP on my server in February—I hadn't used my Ecommerce store since then. So, PHP 8.1 isn't supported I guess.

1818charlie
ECT Moderator

United Kingdom
1192 Posts

Posted - 09/17/2023 :  14:55:22  
quote:
So, PHP 8.1 isn't supported I guess.


Hi John,

On the 23 April version 7.5.8 updater Vince wrote There have been lots of changes in the PHP version for compatibility with PHP 8.2

https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=115311

John Nolan
Advanced Member

Canada
406 Posts

Posted - 09/17/2023 :  16:41:03  
Hmm...I didn't try 8.2. Since 8.1 seemed to be the problem, I downgraded the version, rather than up.

Vince
Administrator

42692 Posts

Posted - 09/18/2023 :  00:51:20  
Hi John
I'm glad you've at least found the cause of the problem, but it's more likely going to be an issue with the mailserver connection of your host's PHP 8.1 installation. There really doesn't seem to be a general issue with PHP 8+ and HTML emails.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

John Nolan
Advanced Member

Canada
406 Posts

Posted - 09/18/2023 :  02:21:21  
Thanks vince, I did contact my host about it, and they said they'd look into it, so we'll see if they find anything, In the meantime, things are working.

I may try 8.2, or just leave it. Would ther be any issue staying at 7.4?

Edited by - John Nolan on 09/18/2023 02:23:52

1818charlie
ECT Moderator

United Kingdom
1192 Posts

Posted - 09/18/2023 :  03:11:55  
Hi John

As of November 28, 2022, PHP 7.4 reached its end of life. End of life means these versions will no longer have security support and could be exposed to unpatched security vulnerabilities.

It would be best to get onto the latest version 8 that your host supports

John Nolan
Advanced Member

Canada
406 Posts

Posted - 09/18/2023 :  04:02:44  
Okay, I'll push my host a bit!

John Nolan
Advanced Member

Canada
406 Posts

Posted - 09/18/2023 :  04:33:54  
Hmm...I guess I'm going to have to bug my host more:

With 7.4 my store and my Wordpress install work.
With 8.1 both work, but my emails are a mess.
With 8.0 or 8.2, neither my Wordpress nor my store will even load.

Something's fishy!

I guess this has nothing to do with the Ecommerce code.

Edited by - John Nolan on 09/18/2023 04:56:31

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 09/18/2023 :  07:32:48  
Hi John,

Are you using the latest version of ECT?

Steve

John Nolan
Advanced Member

Canada
406 Posts

Posted - 09/18/2023 :  07:34:50  
Yes, latest "stable release", i.e. 7.6.2

Vince
Administrator

42692 Posts

Posted - 09/18/2023 :  09:21:55  
Hi John
> With 8.0 or 8.2, neither my Wordpress nor my store will even load.
If you want me to look into this can you send me the FTP login details to my email (vince AT ecommercetemplates DOT com)

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

John Nolan
Advanced Member

Canada
406 Posts

Posted - 09/18/2023 :  09:34:22  
Thanks Vince. My host said they would investigate, so I'm hoping they'll get back to me soon.

If not, I'll take you up on that.

1818charlie
ECT Moderator

United Kingdom
1192 Posts

Posted - 09/18/2023 :  11:40:09  
Hi John

FYI the Security Support dates for PHP versions 8.1 & 8.2 run until

8.1 25 Nov 2024
8.2 08 Dec 2025

All ECT sites we look after are on PHP v 8.1.22 & the MySQL version 10.3.39-MariaDB-log-cll-lve. No site owners have reported any issue
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.05 seconds. Snitz Forums 2000