<?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 Embed Pushbotton and Textbox in the outlook email generated by SAS in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Embed-Pushbotton-and-Textbox-in-the-outlook-email-generated-by/m-p/477864#M21288</link>
    <description>&lt;P&gt;I have the below code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let to = name&lt;A href="mailto:vinay.marapaka@email.com" target="_blank"&gt;@email.com&lt;/A&gt;;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;%let name = name;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;%let report = Daily Status Report;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;filename mymail email "&amp;amp;to"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;type = "TEXT/HTML"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;subject = "Report Status";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;data _null_;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;file mymail;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put '&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;';&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put '&amp;lt;style type="text/HTML" MEDIA=screen&amp;gt;&amp;lt;!--';&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put 'body { color: #346170; font-family: Verdana; font-size: 10pt; }';&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put '.errorMessage { color: Red; font-size: 8pt; }';&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put '--&amp;gt;&amp;lt;/style&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;';&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put 'name -&amp;lt;br /&amp;gt; The following reports are complete:';&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put '&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Daily Status Report&amp;lt;/li&amp;gt;';&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put '&amp;lt;button type="button" &amp;gt;ACCEPT!&amp;lt;/button&amp;gt;'; /* this two lines I have added but didn't work*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; put '&amp;lt;button type="button"&amp;gt;REJECT!&amp;lt;/button&amp;gt;';&lt;/P&gt;&lt;P&gt;&amp;nbsp; put '&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;';&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the screenshot of the email as needed.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jul 2018 13:37:13 GMT</pubDate>
    <dc:creator>Win9</dc:creator>
    <dc:date>2018-07-13T13:37:13Z</dc:date>
    <item>
      <title>Embed Pushbotton and Textbox in the outlook email generated by SAS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Embed-Pushbotton-and-Textbox-in-the-outlook-email-generated-by/m-p/477864#M21288</link>
      <description>&lt;P&gt;I have the below code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let to = name&lt;A href="mailto:vinay.marapaka@email.com" target="_blank"&gt;@email.com&lt;/A&gt;;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;%let name = name;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;%let report = Daily Status Report;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;filename mymail email "&amp;amp;to"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;type = "TEXT/HTML"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;subject = "Report Status";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;data _null_;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;file mymail;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put '&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;';&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put '&amp;lt;style type="text/HTML" MEDIA=screen&amp;gt;&amp;lt;!--';&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put 'body { color: #346170; font-family: Verdana; font-size: 10pt; }';&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put '.errorMessage { color: Red; font-size: 8pt; }';&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put '--&amp;gt;&amp;lt;/style&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;';&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put 'name -&amp;lt;br /&amp;gt; The following reports are complete:';&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put '&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;Daily Status Report&amp;lt;/li&amp;gt;';&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;put '&amp;lt;button type="button" &amp;gt;ACCEPT!&amp;lt;/button&amp;gt;'; /* this two lines I have added but didn't work*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; put '&amp;lt;button type="button"&amp;gt;REJECT!&amp;lt;/button&amp;gt;';&lt;/P&gt;&lt;P&gt;&amp;nbsp; put '&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;';&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the screenshot of the email as needed.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 13:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Embed-Pushbotton-and-Textbox-in-the-outlook-email-generated-by/m-p/477864#M21288</guid>
      <dc:creator>Win9</dc:creator>
      <dc:date>2018-07-13T13:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Embed Pushbotton and Textbox in the outlook email generated by SAS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Embed-Pushbotton-and-Textbox-in-the-outlook-email-generated-by/m-p/478027#M21292</link>
      <description>&lt;P&gt;Please describe what "didn't work" actually means.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was there an error in the code? If so copy and paste the code and error message(s) from the log into a code box opened using the forum's {I} icon.&lt;/P&gt;
&lt;P&gt;Was the email not generated?&lt;/P&gt;
&lt;P&gt;Was the email generated but the push buttons didn't appear?&lt;/P&gt;
&lt;P&gt;Was the email generate and the push buttons appeared but nothing happens when pushed?&lt;/P&gt;
&lt;P&gt;Or something else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 20:19:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Embed-Pushbotton-and-Textbox-in-the-outlook-email-generated-by/m-p/478027#M21292</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-07-13T20:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Embed Pushbotton and Textbox in the outlook email generated by SAS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Embed-Pushbotton-and-Textbox-in-the-outlook-email-generated-by/m-p/478034#M21293</link>
      <description>&lt;P&gt;Q)Was there an error in the code? If so copy and paste the code and error message(s) from the log into a code box opened using the forum's {I} icon.&lt;/P&gt;&lt;P&gt;A) There is no error in the code, But in the outlook email the Push button showing as a plain text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q) Was the email not generated?&lt;/P&gt;&lt;P&gt;A) Yes email generated succesfully&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q)Was the email generated but the push buttons didn't appear?&lt;/P&gt;&lt;P&gt;A) Yes, Push button appearing as a plain text&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q)Was the email generate and the push buttons appeared but nothing happens when pushed?&lt;/P&gt;&lt;P&gt;Or something else?&lt;/P&gt;&lt;P&gt;A) Yes email generated and push button appeared as a plain text.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 20:48:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Embed-Pushbotton-and-Textbox-in-the-outlook-email-generated-by/m-p/478034#M21293</guid>
      <dc:creator>Win9</dc:creator>
      <dc:date>2018-07-13T20:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Embed Pushbotton and Textbox in the outlook email generated by SAS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Embed-Pushbotton-and-Textbox-in-the-outlook-email-generated-by/m-p/478111#M21295</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I notice that you don't have content-type="text/html" as shown on the 10-24-2017 entry in this forum post:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/td-p/406502" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/how-to-format-text-in-SAS-email-body-bulk-e-mails-via-proc/td-p/406502&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Notice how the content-type is provided on the FILENAME statement. Other things to check -- did your EMAIL system convert the HTML to plain text? Check with your mail administrators. Without a clear content-type for the mail, they may have converted everything.&amp;nbsp; Some mail systems strip active links and scripts out of mails to prevent malware - again, this is something you need to check at your end of things.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; You said that mail was generated successfully. Outside of the mail environment, have you tested whether your HTML page will work when viewed in a browser? I am not completely current on HTML and CSS, but having text/html in the &amp;lt;style&amp;gt; tag may not be enough for your mail system and usually, when I see a &amp;lt;button&amp;gt; tag, there is some kind of "action" or HREF= to "do" something when the button is clicked, as shown here: &lt;A href="https://www.copernica.com/en/blog/post/how-to-create-email-buttons-with-just-html-and-css" target="_blank"&gt;https://www.copernica.com/en/blog/post/how-to-create-email-buttons-with-just-html-and-css&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; The W3Schools site: &lt;A href="https://www.w3schools.com/tags/tag_button.asp" target="_blank"&gt;https://www.w3schools.com/tags/tag_button.asp&lt;/A&gt; indicates there are new features for &amp;lt;button&amp;gt; in HTML5 vs HTML4, but since you don't have a &amp;lt;DOCTYPE&amp;gt; tag, you don't tell the mail system what kind of HTML you're sending. Also, the W3Schools site only shows browser support for &amp;lt;BUTTON&amp;gt; so you might want to check with your mail administrators to see whether &amp;lt;BUTTON&amp;gt; in mail is supported by the system you're using for email.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Just a few other suggestions for debugging,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sat, 14 Jul 2018 14:44:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Embed-Pushbotton-and-Textbox-in-the-outlook-email-generated-by/m-p/478111#M21295</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-07-14T14:44:57Z</dc:date>
    </item>
  </channel>
</rss>

