Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeaderField ¶
HeaderField is a single mail header, that is to be set as a result of a hook.
type Result ¶
type Result struct { // Reject indicates if the mail should not be accepted for delivery. Reject bool // Headers is a list of headers to be prepended to incoming mail, if it is not rejected. Headers []HeaderField // Code is the smtp reply code used on rejection. Code int // Text is the smtp reply text used on rejection. Text string }
Result is the result of calling a hook on incoming mail.
Click to show internal directories.
Click to hide internal directories.