Anyone know how i can send a mail to user from command line in FreeBSD with an attachment ? I tried sendmail -toi user at domain.com < test.txt but the test.txt doesn't come as an attachment, the contents of the file comes in the body of the mail. Thanks!