Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransformBackend ¶
type TransformBackend struct { Backend smtp.Backend TransformMail func(from string) (string, error) TransformRcpt func(to string) (string, error) TransformData func(r io.Reader) (io.Reader, error) }
TransformBackend 消息转换后端
func (*TransformBackend) NewSession ¶
func (be *TransformBackend) NewSession(c smtp.ConnectionState) (smtp.Session, error)
Click to show internal directories.
Click to hide internal directories.