account data only; integrate smtp server; logging
This commit is contained in:
13
smtp/smtp.go
Normal file
13
smtp/smtp.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package smtp
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"maunium.net/go/mautrix/id"
|
||||
)
|
||||
|
||||
// Client interface to send emails
|
||||
type Client interface {
|
||||
GetMappings(context.Context) (map[string]id.RoomID, error)
|
||||
Send(from, to, subject, body string) error
|
||||
}
|
||||
Reference in New Issue
Block a user