‎2011 Nov 14 10:23 PM
Hi Experts,
I have a requirement, need to send table format data from sap to outlook email via UNIX command. In order to send this table format data, I developed HTML code for the table and data and stored in UNIX file.
And then, I am using below commnad to generate Email. But I am getting Email as Plain Text format not HTML format and email body as getting html code as it is. I mean it didn't converted.
*cat /tmp/mail44201111141455412.msg | /usr/bin/mailx -s "Test Mail" abc@xyz*In the above command ...,
*mail44201111141455412.msg* >>>>> is the File name which has HTML codes <HTML> ..... </HTML> and stored in /tmp directory.*Test mail* >>> is the subject*abc@xyz* >>> is the receipent email-idI also changed the file extension from .msg to .htm. But no use. results are not comming as expected.
So, basically I need Email format as HTML.
I searched forums and I found similar type of questions and but not 100% relevant answer. It seems.., we need to pass content-type as either "txt / html" in the above command. I am not sure But I tired.
I tried to pass at the end of the above command. Command execution failure error.
I also tired to pass before the subject i.e "-s" . This time also i got error.
Please help me on this.
Thanks in Advance.
reddy
‎2011 Nov 15 2:05 PM
Anyone has any idea on this?
Edited by: bvrnreddy on Nov 15, 2011 10:43 PM
‎2011 Nov 15 9:56 PM