<?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: Creating &amp;quot;nice&amp;quot; references to long links in mails generated from SAS in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Creating-quot-nice-quot-references-to-long-links-in-mails/m-p/609024#M17793</link>
    <description>&lt;P&gt;Try to add&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;put '!EM_TYPE!text/html';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and see if your &amp;lt;a tag works then.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2019 11:57:53 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-12-03T11:57:53Z</dc:date>
    <item>
      <title>Creating "nice" references to long links in mails generated from SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-quot-nice-quot-references-to-long-links-in-mails/m-p/608994#M17788</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use SAS to auto generate several thousands mails, and I have spend some time on reading how to make a nice link based on a long technically link, but somehow unsuccessful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro excelsheets;
%do i=1 %to 1;
%if &amp;amp;i=1 %then %let init=xxxx;

filename ulmail email from = "yyyy@zzzzzzz.com" type="text/html";
data _null_;
file ulmail;
put "!EM_SENDER! yyyy@zzzzzzz.com";
put "!EM_TO! &amp;amp;xxxx@zzzzzzz.com " ;
*put "!EM_CC! rly@novozymes.com " ;
put "!EM_SUBJECT! Your personal TD data" ;

put "Dear xxxx,"
//
put "As an employee, you should store 2018/2019 targets and evaluations, CV and personal job descriptions safely "
"where only relevant people have access to them, as these contain personal data. We recommend you save them 
on your OneDrive, share a link with your leader and delete any copies in your mailbox.  Any general job descriptions can be stored in Luna or MyMS
where a broader group of people can be granted access as these do not contain personal data. As a people manager, you must follow the &amp;lt;ul&amp;gt;guidelines&amp;lt;/ul&amp;gt; on good archiving practice for people managers. "//
"To support your people performance dialogs in 2020, P&amp;amp;O will have an updated toolbox ready in January including inspiration for impactful dialogs and tools for driving the offline process. " //
"If you have any questions please go to the https://zymernet.nzcorp.net/intranet/p-and-o/annual-people-processes/_layouts/15/start.aspx#/SitePages/Ahead.aspx - Ahead page on Zymernet, ask the P&amp;amp;O chatbot available on all P&amp;amp;O Zymernet pages or reach out "/
"through the ASK P&amp;amp;O emails in each region. "//;

put "Best regards"/
"HR"
;

put '!em_attach! ("C:\TD2018\Targets_Development_2018_&amp;amp;init..docx"  "C:\TD2019\Targets_Development_2019_&amp;amp;init..docx")';
put '!EM_SEND!';
put '!EM_NEWMSG!';
put '!EM_ABORT!';
run;
%end;
%mend;
%excelsheets
;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Viewing my result mail looks like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;If you have any questions please go to the &lt;/FONT&gt;&lt;A href="https://zymernet.nzcorp.net/intranet/p-and-o/annual-people-processes/_layouts/15/start.aspx#/SitePages/Ahead.aspx" target="_blank" rel="noopener"&gt;https://zymernet.nzcorp.net/intranet/p-and-o/annual-people-processes/_layouts/15/start.aspx#/SitePages/Ahead.aspx&lt;/A&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt; - Ahead page on Zymernet, ask the P&amp;amp;O chatbot available on all P&amp;amp;O Zymernet pages or reach out to through the ASK P&amp;amp;O emails in each region. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I have tried &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;put &amp;lt;a ref="https:\\zymernet............aspx"&amp;gt; Guideline page &amp;lt;/a&amp;gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;and some other variant without success.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;hope someone out there can spot my error or help me explain what I am doing wrong?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;TH&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 09:48:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-quot-nice-quot-references-to-long-links-in-mails/m-p/608994#M17788</guid>
      <dc:creator>Gardin</dc:creator>
      <dc:date>2019-12-03T09:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating "nice" references to long links in mails generated from SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-quot-nice-quot-references-to-long-links-in-mails/m-p/609024#M17793</link>
      <description>&lt;P&gt;Try to add&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;put '!EM_TYPE!text/html';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and see if your &amp;lt;a tag works then.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 11:57:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-quot-nice-quot-references-to-long-links-in-mails/m-p/609024#M17793</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-03T11:57:53Z</dc:date>
    </item>
  </channel>
</rss>

