Delphi DLL
IMAP Examples for Delphi DLL
Connecting, TLS and Server Features
- Secure IMAP over TLS/SSL
- IMAP STARTTLS (Explicit TLS/SSL)
- IMAP Enable TLS 1.3
- Using Client Certificate w/ IMAP SSL
- Connecting to GMAIL using IMAP
- Read iCloud Email Account using IMAP
- Yahoo! IMAP (imap.mail.yahoo.com)
- IMAP Capability
- IMAP NOOP Command
- Using IMAP IDLE to Wait for Updates
- IMAP Session Logging
OAuth2 Authentication
- Get GMail IMAP OAuth2 Access Token for Desktop App
- GMail IMAP Authentication using OAuth2 Access Token
- Refresh GMail IMAP OAuth2 Access Token
- OAuth2 for GMail using a Service Account Key
Proxies and SSH Tunneling
- IMAP using HTTP Proxy
- IMAP using SOCKS5, SOCKS4 Proxy
- IMAP SSH Tunneling (Port Forwarding)
- IMAP Use Existing SSH Tunnel
- IMAP over Multiple Hop SSH
Mailboxes and Quotas
- List IMAP Mailboxes
- List IMAP Mailboxes with Reference
- Create Email Folder (sub-Mailbox)
- Subscribe to Mailboxes and List Subscribed Mailboxes
- Find the "Sent" IMAP Mailbox
- IMAP Get Quota Root
- IMAP Get Quota
Reading and Downloading Email
- Read IMAP Mailbox
- Download All Email One at a Time
- Download MIME Source of Emails in IMAP Mailbox
- Fetch Single Email by UID or Sequence Number
- Fetch Oldest/Newest IMAP Email
- Download Unread Email from IMAP Mailbox
- Fetch Full Email Given Email Header
- How to Download Messages in MessageSet One at a Time
- Imap.GetMailSize vs Email.Size
- Scan for Emails with Attachments and Save Attachments to Files
Headers, UIDs, Searching and Sorting
- Read IMAP Email Headers
- Fetch Inbox Email Headers
- Fetch 1st N Headers of Search Results
- List Email UIDs
- Get IMAP UID from Email Header
- Search IMAP Mailbox for Email Matching Criteria
- IMAP Find Emails by Date
- IMAP Search with THREAD Semantics
- Sorting Email
- Process New Email by Scanning for Senders
- Determine the Number of Unseen Email Messages
Flags
- Mark IMAP Email as Read/Unread (Seen/Unseen)
- IMAP Get List of Flags
- Examine Junk/NonJunk Flags on Outlook.com and GMail
Uploading, Copying and Moving Email
- Upload (Append) Email to an IMAP Mailbox
- Upload (Append) Email to an IMAP Mailbox and get the UID of the Appended Email
- Upload .eml File to an IMAP Mailbox
- Copy an Email from One Mailbox to Another
- IMAP Move Messages to another Mailbox
- Move Selected Emails to another Mailbox Folder
- How to Copy IMAP Mail to another IMAP Server
- Copy Email from one IMAP Account to Another
Deleting Email
- Delete IMAP Email
- Delete Email Individually (One at a time) from an IMAP Mailbox
- Delete All IMAP Email
- IMAP Delete Old Email (before a specified date)
Signed and Encrypted Email
- IMAP Download and Verify Signed (S/MIME) Email
- IMAP Download and Verify Signed MIME
- IMAP Read Encrypted Email