Swaks
Swaks - Swiss Army Knife for SMTP
swaks (Swiss Army Knife for SMTP) is a powerful command-line tool for testing and debugging SMTP servers. It allows users to craft custom SMTP sessions with fine-grained control over headers, authentication, TLS, attachments, and more. swaks is commonly used by sysadmins and developers to diagnose mail delivery problems or test SMTP server configurations.