Tags in Mail and subject templates
Brought to you by:
phprechnung
It would be nice to configure the PDF Mail Template and
other Mail templates and Subjects using Tags.
For example a tag [NAME], [INVOICENO] and [EMAIL]
I know a joomla component "LetterMan" that also use
this constuction. It's really simple just like
// Now let's update the HTML Mail Body
// embed the subscriber / user name and other tags
$mymail->Body = str_replace( "[NAME]", $name,
$html_message);
// embed the email address this newsletter is sent to
$mymail->Body = str_replace( "[EMAIL]", $row->email,
$mymail->Body);
This way the mail messages will be much more configurable.
Hope this is usefull.
Logged In: YES
user_id=1372427
Thank's Jerry,
this is useful.
By the way Test4 is ready for dutch language.
I made all the changes.
Regards
Edy