Welcome to FreeSoftwareServers Confluence Wiki

Using MailX to send w/ Attachment:

mailx -a file.txt -s "Subject" user@domain.com < /dev/null

Use Mail to send test e-mail:

echo "Body" | mail -s "Subject" root
  • No labels