Documentation
¶
Index ¶
- Constants
- func MailTrigger(service string, request rune, timeout time.Duration) (err error)
- type PostfixMail
- func (m *PostfixMail) Close() error
- func (m *PostfixMail) Content() io.Reader
- func (m *PostfixMail) From() *mail.Address
- func (m *PostfixMail) Name() string
- func (m *PostfixMail) Parse() (err error)
- func (m *PostfixMail) Path() string
- func (m *PostfixMail) String() string
- func (m *PostfixMail) Subject() string
- func (m *PostfixMail) To() []*mail.Address
- type PostfixMailFileFactory
- type RecordReader
Constants ¶
View Source
const ( QMGR_REQ_SCAN_DEFERRED = 'D' // scan deferred queue QMGR_REQ_SCAN_INCOMING = 'I' // scan incoming queue QMGR_REQ_FLUSH_DEAD = 'F' // flush dead xport/site QMGR_REQ_SCAN_ALL = 'A' // ignore time stamps )
postfix-2.10.1/src/global/mail_proto.h
View Source
const ( VmailerExtraOffs = iota Postfix10DataOffset Postfix10RecipientCount Postfix21qmgrFlags Postfix24ContentLength )
postfix-2.10.1/src/global/rec_type.h postfix-2.10.1/src/global/record.c
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostfixMail ¶
type PostfixMail struct {
// contains filtered or unexported fields
}
func NewPostfixMail ¶
func NewPostfixMail(filePath string) *PostfixMail
func (*PostfixMail) Close ¶
func (m *PostfixMail) Close() error
func (*PostfixMail) Content ¶
func (m *PostfixMail) Content() io.Reader
func (*PostfixMail) From ¶
func (m *PostfixMail) From() *mail.Address
func (*PostfixMail) Name ¶
func (m *PostfixMail) Name() string
func (*PostfixMail) Parse ¶
func (m *PostfixMail) Parse() (err error)
func (*PostfixMail) Path ¶
func (m *PostfixMail) Path() string
func (*PostfixMail) String ¶
func (m *PostfixMail) String() string
func (*PostfixMail) Subject ¶
func (m *PostfixMail) Subject() string
func (*PostfixMail) To ¶
func (m *PostfixMail) To() []*mail.Address
type PostfixMailFileFactory ¶
type PostfixMailFileFactory struct{}
type RecordReader ¶
type RecordReader struct {
// contains filtered or unexported fields
}
func NewRecordReader ¶
func NewRecordReader(reader io.Reader) *RecordReader
Click to show internal directories.
Click to hide internal directories.