Documentation ¶
Overview ¶
Package backendutil provide utilities to implement SMTP backends.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransformBackend ¶
type TransformBackend struct { smtp.Backend Transform func(from string, to []string, r io.Reader) (string, []string, io.Reader) }
TransformBackend is a backend that transforms messages.
func (*TransformBackend) Login ¶
func (be *TransformBackend) Login(username, password string) (smtp.User, error)
Login implements the smtp.Backend interface.
Click to show internal directories.
Click to hide internal directories.