mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
- Added new template for plain text email
- Renamed template for html email mail.php -> mailHTML.php - Changed method getMessageByToken of Recipient_model for getting only the last message by token - Changed method getMessages of Recipient_model for getting event the token - Changed method send of library MailLib to add the possibility to send an alternative plain text body for a html mail - Changed library MessageLib to add the possibility to send emails in html/text format to inform the users about new messages - Added method toHTML to controller Messages - Added new configuration entries in message.php - Added new view messageHTML.php
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>This is not the email template, this is a tribute</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="header">
|
||||
This is the header!
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="body">
|
||||
<iframe width="100%" frameborder="0" src="{src}"></iframe>
|
||||
<a href="{href}">Click here!!!</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
This is the footer!
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user