Mailbox represents a POP/IMAP mailbox client that can scan messages and pass them to a given channel.
| 14 | // Mailbox represents a POP/IMAP mailbox client that can scan messages and pass |
| 15 | // them to a given channel. |
| 16 | type Mailbox interface { |
| 17 | Scan(limit int, ch chan models.Bounce) error |
| 18 | } |
| 19 | |
| 20 | // Opt represents bounce processing options. |
| 21 | type Opt struct { |
no outgoing calls
no test coverage detected