Documentation
¶
Index ¶
- func Initialize(ctx context.Context) error
- type AwsMailer
- type Dialer
- type Mailer
- type MessageInfo
- func MakeGeneratingOrganizationMessage(ctx context.Context, organizationId string, organizationName string, to string, ...) (*MessageInfo, error)
- func MakeSystemNotificationMessage(ctx context.Context, organizationId string, title string, content string, ...) (*MessageInfo, error)
- func MakeTemporaryPasswordMessage(ctx context.Context, to, organizationId, accountId, randomPassword string) (*MessageInfo, error)
- func MakeVerityIdentityMessage(ctx context.Context, to, code string) (*MessageInfo, error)
- type SmtpMailer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Types ¶
type AwsMailer ¶
type AwsMailer struct {
// contains filtered or unexported fields
}
func NewAwsMailer ¶
func NewAwsMailer(m *MessageInfo) *AwsMailer
type Dialer ¶
type Dialer struct { Host string Port int Username string Password string Auth smtp.Auth SSL bool TLSConfig *tls.Config LocalName string }
func (*Dialer) DialAndSend ¶
type MessageInfo ¶
func MakeTemporaryPasswordMessage ¶
func MakeTemporaryPasswordMessage(ctx context.Context, to, organizationId, accountId, randomPassword string) (*MessageInfo, error)
func MakeVerityIdentityMessage ¶
func MakeVerityIdentityMessage(ctx context.Context, to, code string) (*MessageInfo, error)
type SmtpMailer ¶
type SmtpMailer struct { Host string Port int Username string Password string // contains filtered or unexported fields }
func NewSmtpMailer ¶
func NewSmtpMailer(m *MessageInfo) *SmtpMailer
Click to show internal directories.
Click to hide internal directories.