<?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: sending email with a  hyper link from SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/sending-email-with-a-hyper-link-from-SAS/m-p/54513#M15111</link>
    <description>Sivan,&lt;BR /&gt;
&lt;BR /&gt;
You can send a hyperlink fin a sas e-mail as shown below:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
FILENAME mail1 EMAIL&lt;BR /&gt;
TO=("xxxxx@gmail.com" )&lt;BR /&gt;
From =("yyyyy@gmail.com")&lt;BR /&gt;
SUBJECT ="test"&lt;BR /&gt;
type="text/html"&lt;BR /&gt;
CT= "text/html" ;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
DATA _NULL_;&lt;BR /&gt;
FILE mail1;&lt;BR /&gt;
PUT 'Hello!!! ';&lt;BR /&gt;
PUT "&lt;A href="https://communities.sas.com/your-url-here"&gt;Link text&lt;/A&gt; ";&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
However, it should be noted that the recipient of the email should have access to the url which you specify in the href statement.&lt;BR /&gt;
&lt;BR /&gt;
Let me know if this makes sense!&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Pramod&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Pramod.R

Message was edited by: Pramod.R</description>
    <pubDate>Thu, 21 Apr 2011 12:14:59 GMT</pubDate>
    <dc:creator>Pramod_R</dc:creator>
    <dc:date>2011-04-21T12:14:59Z</dc:date>
    <item>
      <title>sending email with a  hyper link from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sending-email-with-a-hyper-link-from-SAS/m-p/54512#M15110</link>
      <description>Hi,&lt;BR /&gt;
Is it possible to send an email from SAS with a hyper link to a file?&lt;BR /&gt;
If so, can you send me the syntax?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Sivan.</description>
      <pubDate>Thu, 21 Apr 2011 09:23:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sending-email-with-a-hyper-link-from-SAS/m-p/54512#M15110</guid>
      <dc:creator>Sivan</dc:creator>
      <dc:date>2011-04-21T09:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a  hyper link from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sending-email-with-a-hyper-link-from-SAS/m-p/54513#M15111</link>
      <description>Sivan,&lt;BR /&gt;
&lt;BR /&gt;
You can send a hyperlink fin a sas e-mail as shown below:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
FILENAME mail1 EMAIL&lt;BR /&gt;
TO=("xxxxx@gmail.com" )&lt;BR /&gt;
From =("yyyyy@gmail.com")&lt;BR /&gt;
SUBJECT ="test"&lt;BR /&gt;
type="text/html"&lt;BR /&gt;
CT= "text/html" ;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
DATA _NULL_;&lt;BR /&gt;
FILE mail1;&lt;BR /&gt;
PUT 'Hello!!! ';&lt;BR /&gt;
PUT "&lt;A href="https://communities.sas.com/your-url-here"&gt;Link text&lt;/A&gt; ";&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
However, it should be noted that the recipient of the email should have access to the url which you specify in the href statement.&lt;BR /&gt;
&lt;BR /&gt;
Let me know if this makes sense!&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Pramod&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Pramod.R

Message was edited by: Pramod.R</description>
      <pubDate>Thu, 21 Apr 2011 12:14:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sending-email-with-a-hyper-link-from-SAS/m-p/54513#M15111</guid>
      <dc:creator>Pramod_R</dc:creator>
      <dc:date>2011-04-21T12:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a  hyper link from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sending-email-with-a-hyper-link-from-SAS/m-p/54514#M15112</link>
      <description>An example of what I use very frequently:&lt;BR /&gt;
&lt;BR /&gt;
filename mail email ' '                                                                                                                 &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
 to=("fred@somewhere.com")                                                                                                              &lt;BR /&gt;
  from="me@nowhere.com"                                                                                                                 &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
  subject="Inventory Report for &amp;amp;sysdate";                                                                                              &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
data _null_;                                                                                                                            &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
file mail;                                                                                                                              &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
  put "auto e-mail for Inventory Report";                                                                                               &lt;BR /&gt;
  put "  ";                                                                                                                             &lt;BR /&gt;
  put "Click on the blue underlined path below to view/print file contents";                                                            &lt;BR /&gt;
  put "  ";                                                                                                                             &lt;BR /&gt;
  put "\\MOFtp\\Directory\InvenRpt.pdf";                                                                                                &lt;BR /&gt;
  put "  ";                                                                                                                             &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
run;</description>
      <pubDate>Thu, 21 Apr 2011 13:21:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sending-email-with-a-hyper-link-from-SAS/m-p/54514#M15112</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2011-04-21T13:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a  hyper link from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sending-email-with-a-hyper-link-from-SAS/m-p/54515#M15113</link>
      <description>The last reply does not address the EMAIL content formatting and would be dependent you how your EMAIL client interprets the text-format (default) -- suggest reading up on using appropriate FILENAME statement parameters, as was mentioned earlier in this post-reply thread.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
filename html format email hyperlink site:sas.com</description>
      <pubDate>Thu, 21 Apr 2011 16:17:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sending-email-with-a-hyper-link-from-SAS/m-p/54515#M15113</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2011-04-21T16:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a  hyper link from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sending-email-with-a-hyper-link-from-SAS/m-p/54516#M15114</link>
      <description>Thanks a lot, it was really helpful!</description>
      <pubDate>Wed, 27 Apr 2011 08:23:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sending-email-with-a-hyper-link-from-SAS/m-p/54516#M15114</guid>
      <dc:creator>Sivan</dc:creator>
      <dc:date>2011-04-27T08:23:58Z</dc:date>
    </item>
  </channel>
</rss>

