Reading POP/IMAP Email: Error 220?

Hi,

I’m trying to read email messages from a SaaS email provider (also occurs with Gmail account), and whether I try POP or IMAP, I get an error like “Unexpected token 220”

I provide the email server, port 587, username, and password (which works when sending SMTP emails)… and I am creating a new variable to hold the messages, but each time I get this protocol exception error “220” coming back.

Thoughts?

Thanks,
Bryan

Figured it out.

Instead of using port 587 (which is only for SMTP), I needed to use port 993 for reading via IMAP or port 995 for reading via POP.

2 Likes