Skip to content

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.

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.

ParameterEditorDescription
hosttextServidor POP3 (e.g. pop.gmail.com).
usernametextUser.
passwordtextPassword or App Password. Use = credential(...).
ParameterEditorDescription
portnumberPOP3 port. SSL/TLS: 995; unencrypted: 110.
limitnumberMaximum emails to return (the most recent). By default 10.
includeAttachmentsbooleanDownload the content of the attachments. By default false.
securitylistCifrado: auto · none · ssl (def.) · starttls.
acceptInvalidCertsbooleanAccept untrusted SSL certificates (useful in test environments like Mailtrap). By default false.

Returns a List of emails (ZoanMail).

POP3 Read host = "pop.gmail.com" username = = credential("bot")["user"] password = = credential("bot").ToPlainText() limit = 20 → output: correos
For Each items = = correos itemVariable = correo
└─ activities:
Log message = = correo.From + " — " + correo.Subject
  • IMAP Read — recommended alternative, with folders and filters.
  • POP3 Delete — delete a read email.