2 years ago

#13573

test-img

Lorenzo

Socket error: EOF when using ImapLibrary2 with Robot Framework

I'm trying to use ImapLibrary2 for RobotFramework to connect to imap.gmail.com, find a confirmation email and then open the link to validate the account.

Open Mailbox   host=imap.gmail.com    username=username@gmail.com   password=password    port=993    is_secure=true
${LATEST}    Wait For Email    sender=noreply@domain.com    timeout=300
${HTML}    Open Link From Email    ${LATEST}
Close Mailbox

At the first step, when try to connect to the imap server of gmail I get the following error: abort: socket error: EOF. The Gmail account have the IMAP access turned on. I'm not able to figure out what the problem could be. Thanks everyone for the help

testing

automated-tests

robotframework

gmail-imap

imaplib

0 Answers

Your Answer

Accepted video resources