1
Hi
I have a specific problem in xnewsletter:
I am sending various mails based on a tpl-file.
the tpl looks e.g. like this:
Quote:
Dear {SEX} {FIRSTNAME} {LASTNAME}
You have requested the registrations of email address {EMAIL}.
This email address is currently registered for following newsletters:
{RESULT}
You can change registrations by following link:
{CHANGELINK}
-----------------------
{X_SITENAME}
({X_SITEURL})
Webmaster {X_ADMINMAIL}
To fill in this tpl I use e.g.
....
$xoopsMailer->setTemplate('subscriptions.tpl');
.....
$xoopsMailer->assign('FIRSTNAME', $firstname);
and this is working fine.
but now I create a list of all newsletter, where someone is subscribed and it should look like
Quote:
Newsletter 1
Newsletter 2
Newsletter 3
if I use
$xoopsMailer->assign('RESULT', 'Newsletter 1
Newsletter 2
Newsletter 3);
I get in the mails also Quote:
Newsletter 1
Newsletter 2
Newsletter 3
the same with \r\n, \r or \n
how can I get a line break?