21 lines
685 B
PHP
21 lines
685 B
PHP
<?php
|
|
/**
|
|
* File: sales_lead_alert.php
|
|
* Version: 1.0
|
|
* Path: /resources/views/emails/sales_lead_alert.php
|
|
* Purpose: Notification email to sales team for new lead submissions.
|
|
*/
|
|
?>
|
|
|
|
<?php ob_start(); ?>
|
|
<p><strong>New Sales Lead Submitted</strong></p>
|
|
|
|
<p><strong>Name:</strong> <?= htmlspecialchars($first_name . ' ' . $last_name) ?><br>
|
|
<strong>Email:</strong> <?= htmlspecialchars($email) ?><br>
|
|
<?php if (!empty($phone)): ?><strong>Phone:</strong> <?= htmlspecialchars($phone) ?><br><?php endif; ?></p>
|
|
|
|
<p><strong>Message:</strong><br><?= nl2br(htmlspecialchars($message)) ?></p>
|
|
|
|
<?php $body = ob_get_clean(); ?>
|
|
|
|
<?php include __DIR__ . '/../layouts/email_layout.php'; ?>
|