Swaks is a featureful, flexible, scriptable, transaction-oriented SMTP test tool. Features include:
- SMTP extensions including TLS, authentication, pipelining, PROXY, PRDR, and XCLIENT
- Protocols including SMTP, ESMTP, and LMTP
- Transports including UNIX-domain sockets, internet-domain sockets (IPv4 and IPv6), and pipes to spawned processes
- Completely scriptable configuration, with option specification via environment variables, configuration files, and command line
Send an e-mail with an attachment
1
swaks --to nico@megabank.com --from shuciran@shuciran.com --body "http://10.10.16.2" --header "Subject: RTF format procedure" --attach Invoice.rtf
If the user is clicking the URL you’ll see the web request on your http server and check for its User-Agent
Examples: