Skip to content
Advertisement

Tag: mailx

sending email in linux as subject and attachment

I have a file that is about 10 columns wide and try to send it as body. mailx fails sending it as body and sends it as a ATT00001.bin file and as an attachment. mail -s “Subject” emailaddress < file.tsv Is there way to solve this. When I try to send it as an attachment, using uuencode echo “body” |

Get file from ubuntu server

I have an Ubuntu server running with DB backups. How to get the backups? I am using a *.pem file to login. I have been trying mail with mailx. I execute the command but without success. I get no error messages I am aware of that this is without attachments. How to get this working? With wget do I need

Advertisement