Forums / General Questions / text email customers greeting, getting html tags

text email customers greeting, getting html tags

Views: 387

Results 1 to 3 of 3
28 May 2016, 4:11 PM
#1
mesnitu avatar

mesnitu

Totally Zenned

Join Date:
Aug 2014
Location:
Lisbon
Posts:
597
Plugin Contributions:
0

text email customers greeting, getting html tags

Hi
I had this on v151 , that display a customer discount cupom.
I'm only seding text emails, but I get html tags on that email.

<div> <div>

======================================================================
 

<div>Blah blah blah<div>

<div>Blah blah blahBlah blah blahBlah blah blah
Blah blah blah<div>

<div> <div>

<div>Blah blah blah

======================================================================<div>

.... what should I be looking for this no to happen ?

Thanks

“Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

28 May 2016, 4:33 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: text email customers greeting, getting html tags

Umm. I'd say pretty hard to answer specifically with the provided (lack of) information. Look for something that offers a test of the type of email being sent (html or not) and in cases of the html style email to have it add the necessary tags, if not the tags should not be present or should be stripped. A number of approaches on how to accomplish the intended task. To obtain direct assistance, posting the code that generates this message would be the "best" way to go.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

28 May 2016, 4:46 PM
#3
mesnitu avatar

mesnitu

Totally Zenned

Join Date:
Aug 2014
Location:
Lisbon
Posts:
597
Plugin Contributions:
0

Re: text email customers greeting, getting html tags

Thanks
I've check the cupom message in the admin area.
The ckeditor, added some <div>
So I guess, the <p> are clean, but the <div> are not....
Made a paste as simple text, and sent a email for myself, and now it's ok !

By the way. Perhaps I could ask something else more or less related to this :

I've always use the text email's.... but there are the html ones too.
Is it good for a online shop to use the html ones ? Isn't the risk of getting into spam folders higher ?

Thanks

“Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison