Skip to main content

fetch_pop3

Function fetch_pop3 

Source
pub fn fetch_pop3(
    cfg: &Pop3Config,
    mailbox: &str,
) -> Result<Vec<Pop3FetchedMessage>, String>
Expand description

Retrieve messages from a traditional POP3S mailbox. POP3 has no portable UNSEEN flag, so this returns the mailbox contents; the caller is expected to persist accepted UIDLs before the next poll. Only implicit TLS is supported—plaintext POP3 would expose the account password.