mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-11 22:38:05 +01:00
[#1069] added default Message-ID and more options to customize the mail message
This commit is contained in:
1 parent
c4a660d2d2
commit
3e1a19685b
11 files changed
+186
-157
No files matched your search
@@ -72,8 +72,8 @@ func TestEmailSendValidateAndSubmit(t *testing.T) {
|
||||
expectedContent = "Confirm new email"
|
||||
}
|
||||
|
||||
if !strings.Contains(app.TestMailer.LastHtmlBody, expectedContent) {
|
||||
t.Errorf("(%d) Expected the email to contains %s, got \n%v", i, expectedContent, app.TestMailer.LastHtmlBody)
|
||||
if !strings.Contains(app.TestMailer.LastMessage.HTML, expectedContent) {
|
||||
t.Errorf("(%d) Expected the email to contains %s, got \n%v", i, expectedContent, app.TestMailer.LastMessage.HTML)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user