Documentation ¶
Index ¶
- type Option
- type Server
- type Session
- func (s *Session) Auth(mech string) (sasl.Server, error)
- func (s *Session) AuthMechanisms() []string
- func (s *Session) Data(r io.Reader) error
- func (s *Session) From() string
- func (s *Session) Logout() error
- func (s *Session) Mail(from string, opts *smtp.MailOptions) error
- func (s *Session) Message() *mail.Message
- func (s *Session) RawMessage() io.Reader
- func (s *Session) Rcpt(to string, opts *smtp.RcptOptions) error
- func (s *Session) Recipients() []string
- func (s *Session) Reset()
- func (s *Session) To() stringdeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.9.0
type Option func(*backend) error
func WithOnReceiveFunc ¶ added in v0.9.0
func WithOnReceiveFunc(fn onReceiveFunc) Option
func WithPlainAuth ¶ added in v0.9.0
type Server ¶
func (*Server) RawMessages ¶ added in v0.5.0
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) AuthMechanisms ¶ added in v0.9.0
func (*Session) RawMessage ¶ added in v0.5.0
func (*Session) Recipients ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.