Continued e-mail support

This commit is contained in:
Philipp Heckel 2021-12-24 15:01:29 +01:00
parent 6b46eb46e2
commit f553cdb282
10 changed files with 132 additions and 10 deletions

View file

@ -511,10 +511,10 @@ func TestServer_Curl_Publish_Poll(t *testing.T) {
type testMailer struct {
count int
mu sync.Mutex
mu sync.Mutex
}
func (t *testMailer) Send(to string, m *message) error {
func (t *testMailer) Send(from, to string, m *message) error {
t.mu.Lock()
defer t.mu.Unlock()
t.count++