smtpn.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1">
  6. <meta name="x-apple-disable-message-reformatting">
  7. <title></title>
  8. <!--[if mso]>
  9. <noscript>
  10. <xml>
  11. <o:OfficeDocumentSettings>
  12. <o:PixelsPerInch>96</o:PixelsPerInch>
  13. </o:OfficeDocumentSettings>
  14. </xml>
  15. </noscript>
  16. <![endif]-->
  17. <style>
  18. table, td, div, h1, p {font-family: Arial, sans-serif;}
  19. .theme{
  20. background: rgb(0,130,255);
  21. background: linear-gradient(90deg, rgba(0,130,255,1) 0%, rgba(62,146,248,1) 46%, rgba(249,249,249,1) 100%);
  22. }
  23. </style>
  24. </head>
  25. <body style="margin:0; padding:0;">
  26. <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background-color: #fcfcfc;">
  27. <tr>
  28. <td class="theme" style="padding: 1em; color: #595959; color: white;">
  29. <b>System Notification from {{hostname}}</b>
  30. </td>
  31. </tr>
  32. <tr>
  33. <td style="padding:1.2em;">
  34. <p>{{receiver}}</p>
  35. <p style="margin-left: 2em;">{{message}}</p>
  36. <p>{{sender}}</p>
  37. </td>
  38. </tr>
  39. <tr style="border-top: 1px solid #d4d4d4 !important;">
  40. <td style="padding:0.8em; padding-left: 1.2em; font-size: 0.8em;">
  41. This message was automatically sent by {{hostname}} on {{timestamp}}.
  42. </td>
  43. </tr>
  44. </table>
  45. </body>
  46. </html>