Forrest logo
back to the swaks tool

swaks:tldr:961f9

swaks: Deliver a standard test email to `user@example.com` on port 25 of `test-server.example.net`.
$ swaks --to ${user@example-com} --server ${test-server-example-net}
try on your machine

The command swaks --to ${user@example-com} --server ${test-server-example-net} is used to send test emails using the swaks (Swiss Army Knife for SMTP) command-line tool.

  • --to ${user@example-com} specifies the email address of the recipient. The recipient's address should be provided after --to, where ${user@example-com} should be replaced with the actual recipient's email address.
  • --server ${test-server-example-net} specifies the SMTP server to which the email will be sent. The SMTP server address/domain should be provided after --server, where ${test-server-example-net} should be replaced with the actual server address/domain.

Overall, this command sends a test email to a specific recipient using a specified SMTP server.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the swaks tool