Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMTPProvider ¶
type SMTPProvider struct {
// contains filtered or unexported fields
}
SMTPProvider implements the Provider interface for SMTP email sending.
func NewSMTPProvider ¶
func NewSMTPProvider(host string, port int, username, password, from string) (*SMTPProvider, error)
NewSMTPProvider creates a new SMTP provider instance.
func (*SMTPProvider) SendEmail ¶
func (p *SMTPProvider) SendEmail(ctx context.Context, in notifications.EmailMessage) error
SendEmail sends an email via SMTP.
Click to show internal directories.
Click to hide internal directories.