I have a query here. I want to send an email by sendmail command in BASH. So email should have body(by reading a Input_file) in it as well as it should send same Input_file as attachment too. To do so I have tried as following.
Above command is giving an email with only attachment of Input_file_HTML and it is not writing it in the body of email, could you please help/guide me on same. I am using outlook as email client.
I really appreciate your help on this. Could you please help me in following queries.
When I read man sendmail , I couldn't get these options which we have used above to fix the problem. So could you please share URL or book from where you have referred the same.
If in case uuidgen is not there for someone then which kind of values we should use, could you please put more light on same.
In above could what values will be used for variables named MAILPART and MAILPART_BODY as we have assigned them to uuidgen ?
Also the attached $HTML_FORMAT is having username and server name in it too, how we could avoid it?
Will be grateful to you if you could help me on above points. Thank you for your help and guidance