In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

View Revisions: Issue #485 All Revisions ] Back to Issue ]
Summary 0000485: Create more control over sent emails
Revision 2012-03-20 04:47:45 by alex
Description We have engine, that allows to sent emails based on user actions throughout the system. Each email content can be directly specified for each language. In case if there is need to create common footer for all sent emails, that site administrator could edit "COMMON.FOOTER" event content and place requested text there.

Such approach doesn't allow to style all sent emails (e.g. styles, images, etc.). I propose to create 2 fields in language record: HtmlEmailTemplate and TextEmailTemplate. Possible format of this variable could be:
<html>
<head>
<title>$subject</title>
</head>
<body>
$body
</head>

Of course <inp2: style tags also could be allowed inside this template. Because of emails are sent from administrative console and from Front-End all paths to external resources like images, styles must be absolute. Contents of current COMMON.FOOTER event should be moved to HtmlEmailTemplate field in format "$body footer here".
Revision 2012-03-20 04:45:27 by alex
Description We have engine, that allows to sent emails based on user actions throughout the system. Each email content can be directly specified for each language. In case if there is need to create common footer for all sent emails, that site administrator could edit "COMMON.FOOTER" event content and place requested text there.

Such approach doesn't allow to style all sent emails (e.g. styles, images, etc.). I propose to create 2 multilingual fields in language record: HtmlEmailTemplate and TextEmailTemplate. Possible format of this variable could be:
<html>
<head>
<title>$subject</title>
</head>
<body>
$body
</head>

Of course <inp2: style tags also could be allowed inside this template. Because of emails are sent from administrative console and from Front-End all paths to external resources like images, styles must be absolute. Contents of current COMMON.FOOTER event should be moved to TextEmailTemplate field in format "$body footer here".



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker