WizdomWeb/resources/views/emails/verify_contact.php

41 lines
1.6 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* File: verify_contact.php
* Path: /resources/views/emails/verify_contact.php
* Template Name: Verify Contact Email
* Purpose: Email verification message for contact form submissions.
* Triggered By: EmailService::sendVerificationEmail(..., 'verify_contact')
* Project: Wizdom Networks Website
*/
/** @var string $first_name */
/** @var string $verification_link */
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Verify Your Email</title>
<style>
body { font-family: Arial, sans-serif; color: #333; background: #f9f9f9; padding: 40px; }
.container { max-width: 640px; background: #fff; padding: 30px; border-radius: 6px; margin: auto; border: 1px solid #ddd; }
h1 { color: #005baa; }
.cta { display: inline-block; background-color: #005baa; color: #fff; padding: 12px 24px; text-decoration: none; border-radius: 4px; margin-top: 20px; }
.cta:hover { background-color: #004080; }
.footer { margin-top: 30px; font-size: 0.85em; color: #777; }
</style>
</head>
<body>
<div class="container">
<h1>Hi <?= htmlspecialchars($first_name ?? 'there') ?>,</h1>
<p>Thanks for reaching out to Wizdom Networks. To ensure we received your inquiry and can respond to you promptly, please confirm your email address below:</p>
<p><a class="cta" href="<?= htmlspecialchars($verification_link) ?>">Verify My Email</a></p>
<p class="footer">This email was triggered by a contact form submission on wizdom.ca. If you didnt make this request, you can safely ignore it.</p>
</div>
</body>
</html>