Since my SMTP provider has limit on number of emails that can be sent in a day, I wrote a Java code to call the “mailx” of Linux system, my java-program is running on. Here is that code: The problem is: The email received on the recipients side, the text is not in the message-body, but it is in an
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