Looking for syntex for mailx command to have file go as an attachment.
When sending file as text I type
mailx -s "My Email Topic" firstname.lastname@example.org < mytext.txt
and the text appears as the body of the email.
What would be the syntex to have mytext.txt be an attached file?