I have two installs of phplist 3.2.1. The install that I am having an issue with has been working well for months. In fact, there are 6 email campaigns in the queue ready to send.
I am sending an email composed from a web page as html. When I receive the email, it is text. This is a new problem. I tried sending from my second install of phplist and it works fine. I also noted that if I attempt to create a simple html email using CKEditor, when I save the email, phplist will not save the message I just composed.
Something seems to be corrupt in my database. Any recommendations?
the first thing you’ll want to do is run a couple of the database utilities from the menus:
System, verify the db structure
and
System, rebuild db indexes.
If that doesn’t help, check that your plugins are up to date:
Config, manage plugins, and select ‘update’ for all of the plugins to make sure they are up to date.
I performed the database utilities and plugin updates as you recommended. That did not resolve the issue.
If I try to compose an html message in my campaign, I type a few lines in the editor and select Save and continue editing. My edits are discarded rather than saved. Could something have happened with permissions?
I have also performed a fresh install on the same server and the new install does not have the problem.
To get around this problem, I used a fresh install of phplist and a new database. Initially it worked. This morning, an HTML email that was queued up for my list went out. It was sent as plain text to 1000 recipients.
I tried a HTML test email. It showed up as plain text. I have no idea what could be wrong. My configuration is completely vanilla. I am beginning to believe that phplist may be to unstable to actually be used for anything important.
@MVandC Can you provide a step by step description of what you are doing that leads to a message being sent as plain text instead of html?
Without that it is difficult to try to repeat your problem and so diagnose what is happening.
@MVandC In your config file what value do you have for this setting
# test emails
# if you send a test email, phplist will by default send you two emails, one in HTML format
# and the other in Text format. If you set this to 1, you can override this behaviour
# and only have a test email sent to you that matches the user record of the user that the
# test emails are sent to
define('SEND_ONE_TESTMAIL',1);
If it is not present then the default value of 1 is used.
Please can you either amend or add the setting so that it is set to 0, and then send another test message. You should then receive two emails.
Also, can you confirm that on the user profile for your email address, it is set to receive HTML format emails
Can you look at the headers in the email that you received to confirm the content-type header. The headers should include something like this
On the Reconcile Subscribers page you can set all subscribers to receive HTML or to receive text format emails. But I don’t see how you could change that without remembering it.
If you want to send HTML format to all subscribers then use that command to ensure that everyone has the correct setting.
@duncanc is there any ways that subscribers will receive html format by default when they subscribed in? so no need to press reconcile button everytime we received a new subscriptions.