Text mails are missing template content/placeholders

Discuss, research, share, find, and solve bugs

Text mails are missing template content/placeholders

Postby dekeiy » 5:57pm, Tue 24 Feb, 2015

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.
dekeiy
phpList newbie
 
Posts: 2
Joined: 5:44pm, Tue 24 Feb, 2015

Re: Text mails are missing template content/placeholders

Postby Dragonrider » 10:25pm, Tue 24 Feb, 2015

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.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: Text mails are missing template content/placeholders

Postby dekeiy » 11:44am, Wed 25 Feb, 2015

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?
dekeiy
phpList newbie
 
Posts: 2
Joined: 5:44pm, Tue 24 Feb, 2015

Re: Text mails are missing template content/placeholders

Postby Dragonrider » 11:49am, Wed 25 Feb, 2015

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.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom


Return to Bug Discussion

Who is online

Users browsing this forum: No registered users and 4 guests

cron