-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from buggregator/hotfix/67
Fixes problem when render non-HTML emails
- Loading branch information
Showing
4 changed files
with
94 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"uuid":"a68e1262-39d4-4ecc-bdc1-ef5298f312a7", | ||
"type":"smtp", | ||
"payload":{ | ||
"id":"[email protected]", | ||
"from":[ | ||
{ | ||
"email":"[email protected]", | ||
"name":"Site" | ||
} | ||
], | ||
"reply_to":[ | ||
|
||
], | ||
"subject":"Reset YourPassword", | ||
"to":[ | ||
{ | ||
"name":"", | ||
"email":"[email protected]" | ||
} | ||
], | ||
"cc":[ | ||
|
||
], | ||
"bcc":[ | ||
|
||
], | ||
"text":"<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n <style>\r\n body {\r\n font-family: Arial, sans-serif;\r\n padding: 20px;\r\n background-color: #f6f6f6;\r\n color: #333;\r\n }\r\n\r\n .container {\r\n max-width: 600px;\r\n margin: auto;\r\n background-color: #ffffff;\r\n padding: 20px;\r\n border-radius: 5px;\r\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);\r\n }\r\n\r\n .btn {\r\n display: inline-block;\r\n padding: 12px 24px;\r\n font-size: 16px;\r\n font-weight: bold;\r\n color: #fff;\r\n background-color: #3498db;\r\n border: none;\r\n border-radius: 5px;\r\n text-decoration: none;\r\n text-align: center;\r\n }\r\n </style>\r\n</head>\r\n<body>\r\n<div class=\"container\">\r\n <p>Hello Flavie Welch,</p>\r\n <p>To complete the password reset process, visit the following link:</p>\r\n <a href=\"http://localhost//password/reset?email=pm%site.com&expires=1700228845&signature=be270e0cca28cfe90ce7e11afa9dcece116610fdc64a1ece4d0cf2a79726189e\" class=\"btn\">Reset Password</a>\r\n <p>If you didn’t request this, please ignore this email.</p>\r\n\r\n <ul>\r\n <li>Email: [email protected]</li>\r\n </ul>\r\n <p>Best Regards,</p>\r\n <p>Site Team</p>\r\n</div>\r\n</body>\r\n</html>\r\n", | ||
"html":"", | ||
"raw":"To: [email protected]\r\nSubject: Reset Your Password\r\nFrom: Site <[email protected]>\r\nMessage-ID: <[email protected]>\r\nMIME-Version: 1.0\r\nDate: Thu, 16 Nov 2023 13:47:25 +0000\r\nContent-Type: text/plain; charset=utf-8\r\nContent-Transfer-Encoding: quoted-printable\r\n\r\n<!DOCTYPE html>\r\n<html lang=3D\"en\">\r\n<head>\r\n <style>\r\n body {\r\n font-family: Arial, sans-serif;\r\n padding: 20px;\r\n background-color: #f6f6f6;\r\n color: #333;\r\n }\r\n\r\n .container {\r\n max-width: 600px;\r\n margin: auto;\r\n background-color: #ffffff;\r\n padding: 20px;\r\n border-radius: 5px;\r\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);\r\n }\r\n\r\n .btn {\r\n display: inline-block;\r\n padding: 12px 24px;\r\n font-size: 16px;\r\n font-weight: bold;\r\n color: #fff;\r\n background-color: #3498db;\r\n border: none;\r\n border-radius: 5px;\r\n text-decoration: none;\r\n text-align: center;\r\n }\r\n </style>\r\n</head>\r\n<body>\r\n<div class=3D\"container\">\r\n <p>Hello Flavie Welch,</p>\r\n <p>To complete the password reset process, visit the following link:</p=\r\n>\r\n <a href=3D\"http://localhost//password/reset?email=3Dpm%site.com=\r\nm&expires=3D1700228845&signature=3Dbe270e0cca28cfe90ce7e11afa9dcece116610fd=\r\nc64a1ece4d0cf2a79726189e\" class=3D\"btn\">Reset Password</a>\r\n <p>If you didn=E2=80=99t request this, please ignore this email.</p>\r\n\r\n <ul>\r\n <li>Email: [email protected]</li>\r\n </ul>\r\n <p>Best Regards,</p>\r\n <p>Site Team</p>\r\n</div>\r\n</body>\r\n</html>\r\n", | ||
"attachments":[ | ||
|
||
] | ||
}, | ||
"timestamp":1700142445, | ||
"project_id":null | ||
} |