ikvk / imap_tools

Work with email by IMAP
Apache License 2.0
717 stars 83 forks source link

How to check IP before to connect? #234

Closed sandyboxy closed 6 months ago

sandyboxy commented 6 months ago

Hello, is there a way to check current IP before to make connections to IMAP server?

ikvk commented 6 months ago

What you mean "check"? IMAP work over transport layer, so connection to mail server is simple socket. How to check is connection is possible - try to connect ). There are many network errors exists.