POP3 Read
POP3 Read
Section titled “POP3 Read”Type: pop3-read · Package: SMTP / IMAP Email Activities v1.0.0 · Output: List
Reads mail from a POP3 server and returns a list of messages (ZoanMail). POP3 is an old and limited protocol: it does not support folders, filters or read status.
How it works
Section titled “How it works”It connects to the POP3 server and returns up to limit emails (the most recent ones). Each email has a .Id which here is an index (not a UID), usable with POP3 Delete.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
host | text | Servidor POP3 (e.g. pop.gmail.com). |
username | text | User. |
password | text | Password or App Password. Use = credential(...). |
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
port | number | POP3 port. SSL/TLS: 995; unencrypted: 110. |
limit | number | Maximum emails to return (the most recent). By default 10. |
includeAttachments | boolean | Download the content of the attachments. By default false. |
security | list | Cifrado: auto · none · ssl (def.) · starttls. |
acceptInvalidCerts | boolean | Accept untrusted SSL certificates (useful in test environments like Mailtrap). By default false. |
Output
Section titled “Output”Returns a List of emails (ZoanMail).
Example
Section titled “Example”POP3 Read host = "pop.gmail.com" username = = credential("bot")["user"] password = = credential("bot").ToPlainText() limit = 20 → output: correosFor Each items = = correos itemVariable = correo └─ activities: Log message = = correo.From + " — " + correo.SubjectRelated activities
Section titled “Related activities”- IMAP Read — recommended alternative, with folders and filters.
- POP3 Delete — delete a read email.