I want to send a html mail in newsletter response

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
pralay

I want to send a html mail in newsletter response

Post by pralay »

Hi,
I want to send a html mailer to subscriber of the newslwtter. Now I have the template of the mailer.
I just coied it and paste in the emailsection of newsletter and replaced the body of themailer with the original body given there.

But it's not working and in yahoo it comes with a lot of smarty error.
I used css written on the mail template itself inside the head tag.
Then I used {literal}{/literal} to cover up the whole html without the content.
then the smarty error is gone, But the iamge src which are given as absolute url are not coming and the template is distorted.
when I view the source I saw
has been replaced like

http://testurl" width="1"
height="32">

Now what to do..please help.
Last edited by pralay on Tue Nov 28, 2006 8:25 am, edited 1 time in total.
TimothyFoo
Forum Members
Forum Members
Posts: 44
Joined: Wed Oct 12, 2005 8:50 pm

Re: I want to send a html mail in newsletter response

Post by TimothyFoo »

Don't use css for HTML emails, use old HTML 3.2 style code, as some email clients don't understand css.

I'm not sure of the syntax - off the top of my head - but you will probably have to concatenate the HTML portions of the mail (inside string literals) with the content generated by the CMS. Instead of just wrapping literal tags around everything.
Locked

Return to “CMSMS Core”