Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/753364d08cd548eb#

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  HtmlEmailTemplate and TextEmailTemplate. Possible format of this variable
could be:

Code Block

...

languagexml
<html> 
	<head> 
		<title>$subject</title>

...

 
	</head>

...

 
	<body> 
		$body 
	</head>
</html>

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

Related Tasks

Jira Legacy
serverSystem Jira
serverId513b375f-8291-

Best Regards,
http://www.in-portal.org
http://www.alex-time.com
3313-9d9f-704c39b1f915
keyINP-402