Email Tutorials - Herong's Tutorial Examples - v1.04, by Herong Yang
Email Tutorials - Herong's Tutorial Examples
https://www.herongyang.com/Email
© 2009-2024 Herong Yang. All rights reserved.
This book is a collection of notes and sample codes written by the author while he was learning email systems. Topics include email message transmission protocols: SMTP, IMAP, POP3; secure connections with SSL/TLS protocols; managing Postfix server as MSA, MTA and MDA agents; managing Dovecot server for email retrieval with IMAP and POP3 protocols; Thunderbird and other email client tools; using PHPMailer to send emails in PHP scripts; email message format and headers. Updated in 2024 (Version v1.04) with PHPMailer tutorials.
Table of Contents
Postfix - Mail Transport Agent (MTA)
Install and Configure Postfix on CentOS
Test Postfix Server with "telnet" Client
SMTP Submission Service on Port 587 in Postfix
Archive Emails using "always_bcc" Setting in Postfix
Move /var/spool/postfix to New Location
"postconf" Command to Manage Postfix Configuration
Turn on Postfix Server Logging for Troubleshooting
SSL/TLS Secure Connections with Postfix Server
Dovecot - IMAP and POP3 Server
Install and Configure Dovecot on CentOS
Test Dovecot IMAP Server with "telnet" Client
Test Dovecot POP3 Server with "telnet" Client
Keep Deleted Emails on Dovecot
Turn on Dovecot Server Logging for Troubleshooting
"doveadm" Command - Dovecot's Administration Utility
SSL/TLS Secure Connections with Dovecot Server
Email Client Tools - Mail User Agents (MUA)
"mailx" Command - Send and Read Emails
"Alpine" - Terminal-Based Email Client
macOS Mail Manual Configuration
Accept Certificate Exception in macOS Mail
Windows 10 Mail Configuration Failed
SSL/TLS Connection Issue in Windows 10 Mail
Mozilla Thunderbird - Mail User Agents (MUA)
Thunderbird Installation on macOS and Windows
Thunderbird Configuration for POP3S and SMTP
Thunderbird to Accept POP3S Certificate Exception
Thunderbird Configuration for IMAPS and SMTP
Thunderbird Configuration for SMTPS Service
Manage Security Certificates on Thunderbird
Send Message Errors on Thunderbird
PHPMailer - PHP Package for Sending Emails
Install PHPMailer on CentOS Systems
Send Local Emails with PHPMailer
Send Remote Emails with PHPMailer
Use SMTPS Protocol with PHPMailer
Install PHPMailer from Source Code
Send Email Attachments with PHPMailer
Send Email in HTML with PHPMailer
Email Message Format and Headers
Email Message Format and Example
What Are Email Message Headers
Content-Type: text/html - HTML Content
Content-Type: multipart/alternative; boundary="..."
Content-Type: multipart/mixed; boundary="..."
Content-Transfer-Encoding: 8bit - Non-ASCII Content
Content-Transfer-Encoding: base64 - Base64 Encoded Content
Content-Transfer-Encoding: quoted-printable - 7-Bit Encoding
Subject: =?...?= - 7-Bit Encoding
From: ... - Email "From" Address
To: ... - Email "To" Addresses
Keywords: Email, SMTP, MIME, POP3, IMAP, Tutorials