File size: 5,288 Bytes
4bea261
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Kết Nối SMTP Thử Nghiệm Thành Công - TPHIMX</title>
  <style>
    body {
      background-color: #0b0c10;
      color: #ffffff;
      font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }
    .container {
      max-width: 600px;
      margin: 40px auto;
      background-color: #12141d;
      border: 1px solid rgba(16, 185, 129, 0.2);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 50px rgba(16, 185, 129, 0.05);
    }
    .header {
      padding: 40px 20px;
      text-align: center;
      background: linear-gradient(135deg, #12141d 0%, #064e3b 100%);
      border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    }
    .logo {
      font-size: 28px;
      font-weight: 900;
      letter-spacing: -1px;
      color: #ffffff;
    }
    .logo span {
      color: #10b981;
      text-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
    }
    .content {
      padding: 40px;
      line-height: 1.6;
    }
    .badge {
      display: inline-block;
      background-color: rgba(16, 185, 129, 0.1);
      color: #10b981;
      padding: 6px 14px;
      border-radius: 50px;
      font-size: 11px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 1px;
      border: 1px solid rgba(16, 185, 129, 0.2);
      margin-bottom: 25px;
    }
    h1 {
      font-size: 22px;
      font-weight: 800;
      margin-top: 0;
      margin-bottom: 20px;
      text-transform: uppercase;
      letter-spacing: -0.5px;
      color: #ffffff;
    }
    p {
      color: #9ca3af;
      font-size: 15px;
      margin-bottom: 24px;
    }
    .info-table {
      width: 100%;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 16px;
      border-collapse: separate;
      border-spacing: 0;
      overflow: hidden;
      margin: 30px 0;
    }
    .info-table td {
      padding: 14px 20px;
      font-size: 13px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .info-table tr:last-child td {
      border-bottom: none;
    }
    .info-label {
      color: #6b7280;
      font-weight: bold;
      width: 40%;
      text-transform: uppercase;
      font-size: 10px;
      letter-spacing: 0.5px;
    }
    .info-value {
      color: #ffffff;
      font-family: 'Courier New', Courier, monospace;
      font-weight: bold;
    }
    .highlight {
      color: #10b981;
      font-weight: bold;
    }
    .button-container {
      text-align: center;
      margin: 35px 0;
    }
    .btn {
      display: inline-block;
      background-color: #10b981;
      color: #ffffff !important;
      text-decoration: none;
      padding: 14px 35px;
      font-size: 13px;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 1px;
      border-radius: 12px;
      box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
      transition: all 0.3s ease;
    }
    .footer {
      padding: 30px;
      text-align: center;
      background-color: #0d0f17;
      border-top: 1px solid rgba(16, 185, 129, 0.05);
    }
    .footer p {
      font-size: 11px;
      color: #4b5563;
      margin: 0;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="header">
      <div class="logo">T<span>PHIM</span>X</div>
    </div>
    <div class="content">
      <div class="badge">SMTP TEST SUCCESS</div>
      <h1>Kết nối SMTP hoàn tất!</h1>
      <p>Xin chào quản trị viên, thư điện tử này được gửi tự động để kiểm tra và xác nhận cấu hình máy chủ gửi thư SMTP trên nền tảng <span class="highlight">{{site_name}}</span> của bạn hoạt động hoàn hảo.</p>
      
      <p>Dưới đây là thông số kết nối đã kiểm thử thành công:</p>
      
      <table class="info-table">
        <tr>
          <td class="info-label">SMTP Host</td>
          <td class="info-value">{{smtp_host}}</td>
        </tr>
        <tr>
          <td class="info-label">SMTP Port</td>
          <td class="info-value">{{smtp_port}}</td>
        </tr>
        <tr>
          <td class="info-label">Bảo mật</td>
          <td class="info-value">{{smtp_secure}}</td>
        </tr>
        <tr>
          <td class="info-label">Tài khoản gửi</td>
          <td class="info-value">{{smtp_user}}</td>
        </tr>
        <tr>
          <td class="info-label">Thời gian gửi</td>
          <td class="info-value">{{test_time}}</td>
        </tr>
      </table>

      <div class="button-container">
        <a href="{{site_url}}/admin/cai-dat" class="btn" target="_blank">Quay lại Bảng Cấu Hình</a>
      </div>
      
      <p>Nếu bạn nhận được thư này đúng hòm thư mong muốn, bạn có thể hoàn toàn yên tâm hệ thống thông báo tập mới, đặt lại mật khẩu và liên hệ của website đang hoạt động ổn định.</p>
    </div>
    <div class="footer">
      <p>&copy; {{copyright_year}} {{site_name}} - All Rights Reserved</p>
    </div>
  </div>
</body>
</html>