Page 1 of 1

Text mails are missing template content/placeholders

PostPosted: 5:57pm, Tue 24 Feb, 2015
by dekeiy
I already stumbled over older threads regarding this problem, but since the most recent one's from 2010 I was interested if there is a new development regarding my problem.

Basically, as far as I know, to create a text version of a message, PHPList parses only the content of the message and disregards the selected template and it's placeholders. Which means that text mails won't be send with my personalized greeting for example.

There are two ways that would fix this issue as far as I know:
1) Set USE_MANUAL_TEXT_PART = 1 and add the placeholder tags manually in the new text tab every time you're sending a new newsletter.

2) Just don't give the user a choice between html/text and always send them html mails.

So my question would be, if I am correct in assuming those are the only 2 options or if there is a better way to do this? I don't want to use hacks because I'm very concerned about being able to update.

Thanks for your help.

Re: Text mails are missing template content/placeholders

PostPosted: 10:25pm, Tue 24 Feb, 2015
by Dragonrider
I think that what you need to bear in mind is that you cannot send html within a TEXT email, regardless of what email program you are using. The only way to send HTML, which is basically what gives a template it's design, is to send an HTML email, which a TEXT email is not.

Other than that, yes, your two options are correct.

Simplest way to ensure a template is used is to allow only HTML signups, ie: specify HTML and give your subscribers no choice but to receive HTML.Though it their email settings are text only, within Outlook or webmail, then the template HTML will fail to appear regardless of the format you send your message in.

Re: Text mails are missing template content/placeholders

PostPosted: 11:44am, Wed 25 Feb, 2015
by dekeiy
Dragonrider wrote:I think that what you need to bear in mind is that you cannot send html within a TEXT email, regardless of what email program you are using. The only way to send HTML, which is basically what gives a template it's design, is to send an HTML email, which a TEXT email is not.

Other than that, yes, your two options are correct.

Simplest way to ensure a template is used is to allow only HTML signups, ie: specify HTML and give your subscribers no choice but to receive HTML.Though it their email settings are text only, within Outlook or webmail, then the template HTML will fail to appear regardless of the format you send your message in.


Thank you for the reply. I didn't mean to send HTML via TEXT mails, just that PHPList doesn't keep the text and placeholders of the template without the HTML formatting for the TEXT version. But never mind that.

Do you know of any plans to incorporate templates for text versions of emails?

Re: Text mails are missing template content/placeholders

PostPosted: 11:49am, Wed 25 Feb, 2015
by Dragonrider
dekeiy wrote:Do you know of any plans to incorporate templates for text versions of emails?

I think we are really looking at different ideas.

A template is designed using images and HTML.

You cannot send embedded images and HTML in a TEXT email, any TEXT email.

If someone knows differently, please let us know. Cheers.