<?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: Moving an email in MS Outlook folder to another after opening the embedded link in the email bod in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898221#M355015</link>
    <description>&lt;P&gt;I would work on figuring out first whether SAS can generate an email with an accept/reject button.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After that, I would think the rest you would want to automate in Outlook, with rules or some outer microsoft automation approach. I wouldn't use SAS for that part of triggering an action based on the accept/reject response.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Oct 2023 20:47:54 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2023-10-11T20:47:54Z</dc:date>
    <item>
      <title>Moving an email in MS Outlook folder to another after opening the embedded link in the email body</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898214#M355012</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;SAS program send an email with attached report file, the expected action by the recipient is to review the attached files and approve/reject the report by clicking the link embedded in the message body.&lt;/P&gt;&lt;P&gt;How this can be done ?&lt;/P&gt;&lt;P&gt;The part to send the email recipient is in place and is working fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to check and track whether they have approved the report by clicking the link in the message body?&lt;/P&gt;&lt;P&gt;Once approved, the email has to be moved to another folder.&lt;/P&gt;&lt;P&gt;Can this be done using SAS&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Elizabeth&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 20:04:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898214#M355012</guid>
      <dc:creator>wellsfargo123</dc:creator>
      <dc:date>2023-10-11T20:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Moving an email in MS Outlook folder to another after opening the embedded link in the email bod</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898221#M355015</link>
      <description>&lt;P&gt;I would work on figuring out first whether SAS can generate an email with an accept/reject button.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After that, I would think the rest you would want to automate in Outlook, with rules or some outer microsoft automation approach. I wouldn't use SAS for that part of triggering an action based on the accept/reject response.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 20:47:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898221#M355015</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-10-11T20:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Moving an email in MS Outlook folder to another after opening the embedded link in the email bod</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898321#M355045</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Is there an existing sample sas code which I can use ?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 14:00:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898321#M355045</guid>
      <dc:creator>wellsfargo123</dc:creator>
      <dc:date>2023-10-12T14:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Moving an email in MS Outlook folder to another after opening the embedded link in the email bod</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898324#M355046</link>
      <description>&lt;P&gt;Here's a good article:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-send-email-using-SAS/ta-p/746523" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-send-email-using-SAS/ta-p/746523&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the comments, Chris Hemedinger mentions that voting buttons are not part of the SMTP standard, they're an outlook thing. So you can't generate them from SAS.&amp;nbsp; But you could use a link to implement your own voting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't done this sort of automation, but I would look from the Microsoft automation side.&amp;nbsp; Whether that means Outlook automation via simple outlook rules, or ms flow / power automate, or something like that.&amp;nbsp; Perhaps your email admin could help develop a solution.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 14:15:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898324#M355046</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-10-12T14:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Moving an email in MS Outlook folder to another after opening the embedded link in the email bod</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898600#M355185</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/432465"&gt;@wellsfargo123&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;This is my analysis of your issue.&lt;/P&gt;
&lt;DIV&gt;The process you are envisaging is a two&amp;nbsp; step one.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;Step 1: SAS program sends an email. Obviously, this is a SAS step.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;Step 2: The user responds with Yes/No option selected. The user is using an email client with html support for example Outlook, Thunderbird so on.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Rare exceptions aside I don't see&amp;nbsp; &amp;nbsp;SAS&amp;nbsp; &amp;nbsp;involved in this. This is an HTML /HTML-JavaScript process.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; We can however program SAS to generate / write this code as a part of the email.&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If html support in the users email client is disabled OR not available, then button won't work.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Now when designing your email content that SAS would send one needs to consider the following steps:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;Step 1: Prepare an HTML / HTML-JavaScript portion&amp;nbsp; &amp;nbsp;of the email the recipient is going to receive. Test the button.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Internet search may get you code fragments that you can assemble and test OR you can seek help from WEB/Full Stack developers.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;Step 2: Append the above content to your email that SAS is going to send.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 14 Oct 2023 13:47:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898600#M355185</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2023-10-14T13:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Moving an email in MS Outlook folder to another after opening the embedded link in the email bod</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898605#M355187</link>
      <description>&lt;P&gt;SAS is good at generating reports, and in this case the report is an attachment, so that might make this easier to automate.&amp;nbsp; Maybe:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;SAS generates a report, and emails it to you (SAS programmer) with a standard subject line and attachment.&lt;/LI&gt;
&lt;LI&gt;You have a Outlook rule (or whatever email automation) that says "when an email is received from this sender with this subject and an attachment, send a new email to my boss with&amp;nbsp; text 'please approve' in the email body and a voting button and the attachment."&lt;/LI&gt;
&lt;LI&gt;Then when you get a voting response, you can have another to respond.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;So you let SAS generate the report, and send an email that provides the report and triggers an automated process that is managed outside of SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 15:17:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898605#M355187</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-10-14T15:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Moving an email in MS Outlook folder to another after opening the embedded link in the email bod</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898773#M355246</link>
      <description>&lt;P&gt;For sending the email we are planning to use SAS.&amp;nbsp; &amp;nbsp;Once we receive the response email (Y/N) , i was thinking of developing a program to move that email with specific subject to another folder using sas. From what I understand the only possible option is to use rules in MS outlook. Still researching for best options.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 12:54:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898773#M355246</guid>
      <dc:creator>wellsfargo123</dc:creator>
      <dc:date>2023-10-16T12:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Moving an email in MS Outlook folder to another after opening the embedded link in the email bod</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898791#M355251</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/432465"&gt;@wellsfargo123&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You can consider using a VBA script.&amp;nbsp;&lt;BR /&gt;A SAS&amp;nbsp; program can call this VBA script or it can be run using a scheduler according to the required schedule..&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 13:58:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Moving-an-email-in-MS-Outlook-folder-to-another-after-opening/m-p/898791#M355251</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2023-10-16T13:58:40Z</dc:date>
    </item>
  </channel>
</rss>

