11-11-2003, 02:28 PM
|
|
|
|
X-Adept
|
|
Join Date: Nov 2002
Posts: 477
|
|
|
Re: Easy fix for sending HTML newsletters but other in plain
Quote:
Originally Posted by 27stars
Edit the 'admin/spam.sh' file and replace the line
Code:
(echo "To: $target"; echo "From: $mail_from"; echo "Subject: $mail_subj"; echo; cat $mail_body) | $sendmail_prog $target
with
Code:
(echo "To: $target"; echo "From: $mail_from"; echo "Content-type: text/html"; echo "Subject: $mail_subj"; echo; cat $mail_body) | $sendmail_prog $target
-----------
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,
|
works great thanks!
|
|