imlement HtmlmailAgent, TextmailAgent and MailreceiverAgent for generating plaintext- and HTML-mail messages

This commit is contained in:
coderkun 2014-05-25 11:58:50 +02:00
commit c995fea203
11 changed files with 301 additions and 0 deletions

View 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>

View file

@ -0,0 +1 @@
<?=sprintf(_('Hello %s'), $user['username'])?>

View file

@ -0,0 +1 @@
<?=sprintf(_('Hello %s'), $user['username'])?>

View file

@ -0,0 +1,8 @@
<?=$mailreceiver?>,
<?=$intermediate?>
<?=$appname?>
<?=$url?>