Initial commit
This commit is contained in:
45
assets/mail/email_template_firmware.php
Normal file
45
assets/mail/email_template_firmware.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
defined($security_key) or exit;
|
||||
//------------------------------------------
|
||||
// Content Email
|
||||
//------------------------------------------
|
||||
$firmare_subject = 'CustomerPortal - Firmware update available';
|
||||
$firmware_header = 'Dear customer';
|
||||
$firmware_text = 'According to our records on or more of your products can benefit from a firmware update.';
|
||||
$firmware_text_closure = 'For more information please refer to our Customer Portal or contact your supplier.';
|
||||
|
||||
$consent = 'unscribe';
|
||||
|
||||
//------------------------------------------
|
||||
// Content Email
|
||||
//------------------------------------------
|
||||
$subject = $firmare_subject;
|
||||
|
||||
$message = '
|
||||
<html>
|
||||
<head>
|
||||
<title>' . $subject . '</title>
|
||||
</head>
|
||||
<body>
|
||||
'.$firmware_header.'
|
||||
<br>
|
||||
<br>
|
||||
'.$firmware_text.'
|
||||
<br>
|
||||
<br>
|
||||
'.$firmware_text_closure.'
|
||||
<br>
|
||||
<br>
|
||||
<a href="https://'.$portalURL.'" style="background-color: '.$color.';border: 1px solid;color: #fff;padding: 10px;text-align: center;text-decoration: none;font-size: 12px;border-radius: 5px;">Login to Portal</a>
|
||||
<br>
|
||||
<br>
|
||||
Kind regards,<br>
|
||||
<br>
|
||||
<br>
|
||||
<a href="https://'.$portalURL.'"><img src="https://'.$portalURL.emaillogo.'" alt="logo" width="10%" height="10%"/></a>
|
||||
<br>
|
||||
<a style="text-decoration: none;font-size: 10px;color: #00bcd4;" href="https://'.$portalURL.'/unscribe.php?email='.$to.'">'.$consent.'</a>
|
||||
</body>
|
||||
</html>
|
||||
';
|
||||
|
||||
Reference in New Issue
Block a user