<?php
defined($security_key) or exit;
//------------------------------------------
// Content Email
//------------------------------------------
$register_user_subject = 'CustomerPortal - Registration';
$register_user_header = 'Dear customer';
$register_user_text = 'Thanks for your registration. Based on your product registration we herewith provide you access to our online firmware update capability, with the following credentials:';
$register_user_credential_label = 'User details:';
$register_user_closure = 'This is a generic account and cannot be changed.';

//------------------------------------------
// Content Email
//------------------------------------------
$subject = $register_user_subject;

$message = '
<html>
    <head>
    <title>' . $subject . '</title>
    </head>
    <body>
    ' . $register_user_header . ',
    <br>
    <br>
    ' . $register_user_text . '
    <h4>' . $register_user_credential_label . '</h4>
    <ul><li>username: '.software_update_user.'</li>
        <li>password: '.software_update_pw.'</li>
        <li style="margin-top: 10px;list-style-type: none;">
        <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;">
            GoTo Portal
        </a>
        </li>
    </ul>
    <br>
    ' . $register_user_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>
';

