Initial commit
This commit is contained in:
47
assets/mail/email_template_new.php
Normal file
47
assets/mail/email_template_new.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
defined($security_key) or exit;
|
||||
//------------------------------------------
|
||||
// Content Reset Email
|
||||
//------------------------------------------
|
||||
$newuser_subject = 'CustomerPortal user created';
|
||||
$newuser_header = 'Dear CustomerPortal user';
|
||||
$newuser_text = 'Your CustomerPortal administrator has provided access to the CustomerPortal. To complete your account you need to update your password via the link below.';
|
||||
$newuser_credential_label = 'Link to portal:';
|
||||
$newuser_closure = 'For security reasons this link is only active for 10 minutes.';
|
||||
|
||||
//------------------------------------------
|
||||
// Content Reset Email
|
||||
//------------------------------------------
|
||||
$subject = $newuser_subject;
|
||||
|
||||
$message = '
|
||||
<html>
|
||||
<head>
|
||||
<title>' . $subject . '</title>
|
||||
</head>
|
||||
<body>
|
||||
' . $newuser_header . ',
|
||||
<br>
|
||||
<br>
|
||||
' . $newuser_text . '
|
||||
<h4>' . $newuser_credential_label . '</h4>
|
||||
<ul><li>user: '.$post_content['username'].'</li>
|
||||
<li style="margin-top: 10px;list-style-type: none;">
|
||||
<a href="https://' . $portalURL . '/reset.php?resetkey='.$resetkey.'" style="background-color: ' . $color . ';border: 1px solid;color: #fff;padding: 10px;text-align: center;text-decoration: none;font-size: 12px;border-radius: 5px;">
|
||||
Reset Password
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<br>
|
||||
' . $newuser_closure . '
|
||||
<br>
|
||||
<br>
|
||||
Kind regards,<br>
|
||||
<br>
|
||||
<br>
|
||||
<a href="https://'.$portalURL.'"><img src="https://'.$portalURL.emaillogo.'" alt="logo" width="10%" height="10%"/></a>
|
||||
<br>
|
||||
</body>
|
||||
</html>
|
||||
';
|
||||
|
||||
Reference in New Issue
Block a user