Untitled

 avatar
unknown
plain_text
21 days ago
2.1 kB
4
Indexable
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Error Notification</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f9;
            color: #333;
            padding: 20px;
        }
        .email-container {
            background-color: #ffffff;
            border-radius: 8px;
            padding: 20px;
            border: 1px solid #ddd;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            max-width: 700px;
            margin: 0 auto;
        }
        h1 {
            color: #e74c3c;
            text-align: center;
        }
        .error-message {
            background-color: #f8d7da;
            color: #721c24;
            padding: 10px;
            border: 1px solid #f5c6cb;
            border-radius: 4px;
        }
        .stack-trace {
            background-color: #e9ecef;
            border: 1px solid #ced4da;
            padding: 15px;
            margin-top: 20px;
            border-radius: 4px;
            white-space: pre-wrap;
            font-family: monospace;
        }
        .footer {
            text-align: center;
            margin-top: 30px;
            font-size: 12px;
            color: #888;
        }
    </style>
</head>
<body>
    <div class="email-container">
        <h1>Error Notification</h1>
        <p>Dear Team,</p>
        <p>An error has occurred in the application. Below are the details:</p>
        
        <div class="error-message">
            <strong>Error Message:</strong> {{errorMessage}}
        </div>

        <div class="stack-trace">
            <strong>Stack Trace:</strong>
            <pre>{{stackTrace}}</pre>
        </div>

        <p><strong>Timestamp:</strong> {{timestamp}}</p>
        <p><strong>Environment:</strong> {{environment}}</p>

        <div class="footer">
            <p>If you need assistance, please contact the development team.</p>
        </div>
    </div>
</body>
</html>
Editor is loading...
Leave a Comment