Production server doesn't have php-imap extension. Replaced the entire ImapClient class to use stream_socket_client() with raw IMAP protocol commands. Supports SSL/TLS, STARTTLS, MIME header decoding, body extraction with encoding detection, and charset conversion. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
64 KiB
64 KiB