217 lines
6.7 KiB
Handlebars
217 lines
6.7 KiB
Handlebars
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>SMTP Test Email</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
background-color: #f4f4f4;
|
|
}
|
|
|
|
.email-container {
|
|
background: white;
|
|
padding: 30px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
padding-bottom: 20px;
|
|
border-bottom: 2px solid #a31515;
|
|
}
|
|
|
|
.logo {
|
|
width: 100px;
|
|
height: 100px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.title {
|
|
color: #a31515;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
margin: 0;
|
|
}
|
|
|
|
.subtitle {
|
|
color: #666;
|
|
font-size: 16px;
|
|
margin: 10px 0 0 0;
|
|
}
|
|
|
|
.success-badge {
|
|
background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
|
|
color: white;
|
|
padding: 10px 20px;
|
|
border-radius: 25px;
|
|
display: inline-block;
|
|
font-weight: bold;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.test-details {
|
|
background: #f8f9fa;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
border-left: 4px solid #a31515;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.test-details h3 {
|
|
color: #a31515;
|
|
margin: 0 0 15px 0;
|
|
}
|
|
|
|
.detail-row {
|
|
display: flex;
|
|
margin-bottom: 8px;
|
|
padding: 5px 0;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.detail-label {
|
|
font-weight: bold;
|
|
min-width: 120px;
|
|
color: #666;
|
|
}
|
|
|
|
.detail-value {
|
|
color: #333;
|
|
font-family: 'Courier New', monospace;
|
|
flex: 1;
|
|
}
|
|
|
|
.footer {
|
|
text-align: center;
|
|
margin-top: 30px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #eee;
|
|
color: #666;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.link {
|
|
color: #a31515;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
body {
|
|
padding: 10px;
|
|
}
|
|
|
|
.email-container {
|
|
padding: 20px;
|
|
}
|
|
|
|
.title {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.detail-row {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.detail-label {
|
|
min-width: auto;
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="email-container">
|
|
<div class="header">
|
|
<img src="{{logoUrl}}" alt="MonacoUSA" class="logo">
|
|
<h1 class="title">SMTP Test Email</h1>
|
|
<p class="subtitle">Email Configuration Test</p>
|
|
</div>
|
|
|
|
<div style="text-align: center;">
|
|
<div class="success-badge">
|
|
✅ SMTP Configuration Working!
|
|
</div>
|
|
</div>
|
|
|
|
<p>Congratulations! This test email confirms that your SMTP email configuration is working correctly. The MonacoUSA Portal email system is now ready to send emails.</p>
|
|
|
|
<div class="test-details">
|
|
<h3>📊 Test Configuration Details</h3>
|
|
|
|
<div class="detail-row">
|
|
<div class="detail-label">Test Time:</div>
|
|
<div class="detail-value">{{testTime}}</div>
|
|
</div>
|
|
|
|
<div class="detail-row">
|
|
<div class="detail-label">SMTP Host:</div>
|
|
<div class="detail-value">{{smtpHost}}</div>
|
|
</div>
|
|
|
|
<div class="detail-row">
|
|
<div class="detail-label">From Address:</div>
|
|
<div class="detail-value">{{fromAddress}}</div>
|
|
</div>
|
|
|
|
<div class="detail-row">
|
|
<div class="detail-label">Email Type:</div>
|
|
<div class="detail-value">SMTP Configuration Test</div>
|
|
</div>
|
|
</div>
|
|
|
|
<h3>🎯 What This Means</h3>
|
|
<ul>
|
|
<li><strong>✅ Connection Established:</strong> Successfully connected to your SMTP server</li>
|
|
<li><strong>✅ Authentication Passed:</strong> SMTP credentials are correct and working</li>
|
|
<li><strong>✅ Email Delivery:</strong> Emails can be sent from the portal</li>
|
|
<li><strong>✅ Template System:</strong> Email templates are loading and rendering correctly</li>
|
|
</ul>
|
|
|
|
<h3>📧 Available Email Types</h3>
|
|
<p>Your portal can now send the following types of emails:</p>
|
|
<ul>
|
|
<li><strong>Welcome Emails:</strong> New member registration confirmations</li>
|
|
<li><strong>Email Verification:</strong> Account activation links</li>
|
|
<li><strong>Password Reset:</strong> Secure password reset instructions</li>
|
|
<li><strong>Dues Reminders:</strong> Membership payment notifications</li>
|
|
<li><strong>General Notifications:</strong> Administrative communications</li>
|
|
</ul>
|
|
|
|
<div style="background: rgba(40, 167, 69, 0.1); padding: 15px; border-radius: 8px; margin: 20px 0; border-left: 4px solid #28a745;">
|
|
<p style="margin: 0; color: #155724;">
|
|
<strong>✨ Success!</strong> Your email system is fully configured and operational.
|
|
All automated emails from the MonacoUSA Portal will now be delivered successfully.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p><strong>MonacoUSA Portal</strong><br>
|
|
Email System Configuration Test</p>
|
|
|
|
<p>
|
|
<a href="https://portal.monacousa.org" class="link">Portal</a> |
|
|
<a href="mailto:admin@monacousa.org" class="link">Admin Support</a>
|
|
</p>
|
|
|
|
<p style="margin-top: 20px; font-size: 12px; color: #999;">
|
|
This is an automated test email to verify SMTP configuration.<br>
|
|
Generated by MonacoUSA Portal Email System
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|