Versions in this module Expand all Collapse all v1 v1.6.4 Sep 12, 2023 v1.6.3 Sep 7, 2023 v1.6.2 Sep 7, 2023 Changes in this version + var Dec mime.WordDecoder + func MimeHeaderDecode(str string) string + type Address struct + ADL []string + DisplayName string + DisplayNameQuoted bool + Host string + IP net.IP + NullPath bool + PathParams [][]string + Quoted bool + User string + func NewAddress(str string) (*Address, error) + func (a *Address) IsEmpty() bool + func (a *Address) IsPostmaster() bool + func (a *Address) String() string + type Envelope struct + Data bytes.Buffer + DeliveryHeader string + ESMTP bool + Hashes []string + Header textproto.MIMEHeader + Helo string + MailFrom Address + QueuedId string + RcptTo []Address + RemoteIP string + Subject string + TLS bool + Values map[string]interface{} + func NewEnvelope(remoteAddr string, clientID uint64) *Envelope + func (e *Envelope) Len() int + func (e *Envelope) NewReader() io.Reader + func (e *Envelope) ParseHeaders() error + func (e *Envelope) PopRcpt() Address + func (e *Envelope) PushRcpt(addr Address) + func (e *Envelope) Reseed(remoteIP string, clientID uint64) + func (e *Envelope) ResetTransaction() + func (e *Envelope) String() string + type Pool struct + func NewPool(poolSize int) *Pool + func (p *Pool) Borrow(remoteAddr string, clientID uint64) *Envelope + func (p *Pool) Return(e *Envelope)