I have below code, which is able to successfully send the content of the output file as html which is body, but i did tried uuencode & mailx -a for sending attachments but to no avail.
I just referred the code shared in the link and i did changes accordingly which i'm assuming but i'm not still getting the attachment and this time even the html format took a hit in the mail it was trash.
Below is the changed code, please let me know what wrong have i done?