Forrest logo
back to context overview

sendmail

List of commands for sendmail:

  • sendmail:tldr:824ff sendmail: Send a message with the content of `message.txt` to the mail directory of local user `username`.
    $ sendmail ${username} < ${message-txt}
    try on your machine
    explain this command
  • sendmail:tldr:abe57 sendmail: Send an email from you@yourdomain.com (assuming the mail server is configured for this) to test@gmail.com containing the message in `message.txt`.
    $ sendmail -f ${you@yourdomain-com} ${test@gmail-com} < ${message-txt}
    try on your machine
    explain this command
back to context overview