<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Send Email as HTML format from UNIX command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-email-as-html-format-from-unix-command/m-p/8307340#M1636217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is this an ABAP question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2011 21:56:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-15T21:56:08Z</dc:date>
    <item>
      <title>Send Email as HTML format from UNIX command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-email-as-html-format-from-unix-command/m-p/8307338#M1636215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*cat /tmp/mail44201111141455412.msg | /usr/bin/mailx -s "Test Mail" abc@xyz*&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above command ...,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*mail44201111141455412.msg*   &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; is the File name which has HTML codes &amp;lt;HTML&amp;gt; ..... &amp;lt;/HTML&amp;gt; and stored in /tmp directory.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;*Test mail* &amp;gt;&amp;gt;&amp;gt; is the subject&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;*abc@xyz* &amp;gt;&amp;gt;&amp;gt; is the receipent email-id&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also changed the file extension from &lt;STRONG&gt;.msg&lt;/STRONG&gt; to &lt;STRONG&gt;.htm&lt;/STRONG&gt;. But no use. results are not comming as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, basically I need Email format as HTML. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched forums and I found similar type of questions and but not 100% relevant answer. It seems.., we need to pass &lt;STRONG&gt;content-type as either "txt / html"&lt;/STRONG&gt; in the above command. I am not sure But I tired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to pass at the &lt;STRONG&gt;end of the above command&lt;/STRONG&gt;. Command execution failure error.&lt;/P&gt;&lt;P&gt;I also tired to pass &lt;STRONG&gt;before the subject&lt;/STRONG&gt; i.e "-s" . This time also i got error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt; reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 22:23:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-email-as-html-format-from-unix-command/m-p/8307338#M1636215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-14T22:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Send Email as HTML format from UNIX command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-email-as-html-format-from-unix-command/m-p/8307339#M1636216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone has any idea on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: bvrnreddy on Nov 15, 2011 10:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 14:05:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-email-as-html-format-from-unix-command/m-p/8307339#M1636216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T14:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Send Email as HTML format from UNIX command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/send-email-as-html-format-from-unix-command/m-p/8307340#M1636217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is this an ABAP question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 21:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/send-email-as-html-format-from-unix-command/m-p/8307340#M1636217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T21:56:08Z</dc:date>
    </item>
  </channel>
</rss>

