Initial commit: Open sourcing all of the Maple Open Technologies code.
This commit is contained in:
commit
755d54a99d
2010 changed files with 448675 additions and 0 deletions
12
cloud/maplepress-backend/pkg/emailer/mailgun/interface.go
Normal file
12
cloud/maplepress-backend/pkg/emailer/mailgun/interface.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package mailgun
|
||||
|
||||
import "context"
|
||||
|
||||
type Emailer interface {
|
||||
Send(ctx context.Context, sender, subject, recipient, htmlContent string) error
|
||||
GetSenderEmail() string
|
||||
GetDomainName() string // Deprecated
|
||||
GetBackendDomainName() string
|
||||
GetFrontendDomainName() string
|
||||
GetMaintenanceEmail() string
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue