@Bunnz said in "proxy handshake error"/"Failure when receiving data from the peer" when using proxy with Mail Module:
And proxy is working in HTTP request just fine
email ports are disallowed for these proxies.

Hi BAS Team,
I'm encountering the following error when using the InMail.imap.getBoxes module:
InMail.imap.getBoxes: RECV_ERROR - Failure when receiving data from the peer
The error occurs while BAS is trying to retrieve the mailbox folders through IMAP.
I have already verified the following:
RECV_ERROR - Failure when receiving data from the peer mean?InMail.imap.getBoxes module?What email service do you use?
I'm using Gmail with IMAP enabled and an App Password.
The login works successfully, but the error occurs when calling InMail.imap.getBoxes to retrieve the mailbox folders.
Could you let me know if there are any known issues with Gmail IMAP or if there is anything I should check on my side?
Thank you.
I can't reproduce the problem.
How can I replicate this intentionally? Are there any specifics? Can you attach a project where this occurs?