Hi All,
I am trying to send a file using the Mailx command but when I receive the file I am getting an empty file. Below are the commands that I am using:
uuencode /path/ MAIL new.html >> my_attachment
/usr/bin/mailx -s "Testing" -v emailid@com< my_attachment
I get the file in the mail but when I open it , its empty, I can see the size of the file is also mentioned around 200Kb.
I am also getting a message like this in the mail body:
begin-base64 644 wombat_2020-02-24.log.
I have tried to send txt file, html file but still getting the same issue.