imlement HtmlmailAgent, TextmailAgent and MailreceiverAgent for generating plaintext- and HTML-mail messages
This commit is contained in:
parent
333c45773f
commit
c995fea203
11 changed files with 301 additions and 0 deletions
17
views/htmlmail/htmlmail.tpl
Normal file
17
views/htmlmail/htmlmail.tpl
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><?=$mailreceiver?>,</p>
|
||||
<p>
|
||||
<?=$intermediate?>
|
||||
</p>
|
||||
|
||||
<p>– <a href="<?=$url?>"><?=$appname?></a></p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
1
views/htmlmail/mailreceiver/index.tpl
Normal file
1
views/htmlmail/mailreceiver/index.tpl
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?=sprintf(_('Hello %s'), $user['username'])?>
|
||||
1
views/textmail/mailreceiver/index.tpl
Normal file
1
views/textmail/mailreceiver/index.tpl
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?=sprintf(_('Hello %s'), $user['username'])?>
|
||||
8
views/textmail/textmail.tpl
Normal file
8
views/textmail/textmail.tpl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?=$mailreceiver?>,
|
||||
|
||||
<?=$intermediate?>
|
||||
|
||||
|
||||
– <?=$appname?>
|
||||
|
||||
<?=$url?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue