| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Easy fix for sending HTML newsletters but other in plain txt | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Easy fix for sending HTML newsletters but other in plain txt
> Can we send html newsletter in HTML and all other email
> notifications in plain text? Here is the fix from x-cart support: Please look at the "General settings" page. If the option 'Use internal PHP mailer for sending newsletters.' is turned OFF, you can try the following modification: Edit the 'admin/spam.sh' file and replace the line Code:
with Code:
Otherwise, you should modify the 'func_send_simple_mail' function in the 'include/func.php' file. Please rplace the lines Code:
with Code:
----------- Modifying 'admin/spam.sh' works fine for me. This way you do not have to put in all email templates just to send html newsletter. Enjoy, |
|||||||||
#2
|
|||||||
|
|||||||
newsletter mod rules
Tried this worked well and was easy for newbie to do (with your clear instructions).
Thanks, Trevor[/quote] |
|||||||
#3
|
|||||||
|
|||||||
Well, I don't see the point of having the "if" statement, as it will always be true as written. So you can probably simplify it to
Code:
Walt |
|||||||
#4
|
|||||||||
|
|||||||||
from what i hear this will be in V3.5.0
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#5
|
|||||||
|
|||||||
Re: Easy fix for sending HTML newsletters but other in plain
Quote:
works great thanks! |
|||||||
#6
|
|||||||
|
|||||||
This is odd...
I was able to send the newsletter last month no problems with the above mods. This month I go to send a newsletter and NOTHING is being sent for newsletters. If I remove the mod then the newsletter is sent but in text only. Is there a configuration to sendmail that has possibly changed on my server? Is there a way to check any of this? I have 3.4.4. Internal php mailer and html mail are NOT checked. Oh man just when you think somethign is working!@!!! NOTE: I am able to send an html newsletter if I turn on php mailer and html mail settings. However this screws up the formatting for the standard non-html emails (order confirmations, etc..). I can turn on the settings, send the newsletter, then turn them back off but shouldnt the above mod to spam.sh work? thanks nick |
|||||||
|
|||
X-Cart forums © 2001-2020
|