use postmoogle as general purpose SMTP server and allow other apps or scripts to send emails through it
This commit is contained in:
@@ -17,8 +17,9 @@ import (
|
||||
|
||||
// Bot interface to send emails into matrix
|
||||
type Bot interface {
|
||||
AllowAuth(string, string) bool
|
||||
GetMapping(string) (id.RoomID, bool)
|
||||
Send2Matrix(ctx context.Context, email *utils.Email) error
|
||||
Send2Matrix(ctx context.Context, email *utils.Email, local bool) error
|
||||
SetMTA(mta utils.MTA)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user