Versions in this module Expand all Collapse all v0 v0.2.1 Aug 17, 2022 v0.2.0 Mar 24, 2022 Changes in this version + var ErrSMTPConnectionFailed = errors.New("connection to smtp server failed") + var ErrSMTPInvalidConfig = errors.New("invalid smtp configuration") + var ErrSendMessageFailed = errors.New("could not send message") + type SSLSMTP struct + func NewSSLSMTP(config *SSLSMTPConfig) *SSLSMTP + func (s *SSLSMTP) Close() error + func (s *SSLSMTP) Connect() error + func (s *SSLSMTP) Send(from, to mail.Address, subject, body string) error + type SSLSMTPConfig struct + Password string + URL string + Username string + func (ssc *SSLSMTPConfig) Valid() bool