Scrape an inbox for bad email addresses in bounce messages
Source:R/read_email.R
get_bad_emails_from_individual_emails.Rd
Connect to an imap mailbox, identify bad email addresses referenced in bounce messages sent after `messages_since_date`, and extract the data from those emails.
Usage
get_bad_emails_from_individual_emails(
username,
password,
url = "imaps://outlook.office365.com",
messages_since_date
)
Examples
if (FALSE) { # \dontrun{
get_bad_emails_from_individual_emails(
username = "jdoe",
password = "jane_does_password",
url ="imaps://outlook.office365.com",
messages_since_date = as.Date("2022-01-01", format = "%Y-%m-%d")
)
} # }