<?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: How to convert only a word in an email text to bold/colored? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787358#M251574</link>
    <description>It worked perfectly. Thank you!</description>
    <pubDate>Fri, 24 Dec 2021 18:56:49 GMT</pubDate>
    <dc:creator>Banana19</dc:creator>
    <dc:date>2021-12-24T18:56:49Z</dc:date>
    <item>
      <title>How to convert only a word in an email text to bold/colored?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787149#M251447</link>
      <description>&lt;P&gt;Hi All - I've encountered a scenario where I need to keep a certain word bold in an entire paragraph while sending an automated email using SAS.&lt;/P&gt;&lt;P&gt;Here is an example.&lt;/P&gt;&lt;P&gt;Hi all this your new colleague &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;John Doe&lt;/STRONG&gt;&lt;/FONT&gt; and he has 8 years of experience as &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Financial Analyst&lt;/STRONG&gt;&lt;/FONT&gt;. You can fin his contact details in our intranet.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some one posted a scenario related to converting texting bold in an email and one of you guys posted the following link for reference. I looked at it and I do not think it is going to work for my scenario as the solution mentioned in the PDF is to use html tags and convert entire line in bold/colored not a single word.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have another question. Is it possible to keep a hyper link under the work in intranet in above example?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the link I've mentioned.&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings10/060-2010.pdf" target="_blank" rel="noopener"&gt;060-2010: SMTP Email Access Method: Hints, Tips, and Tricks (sas.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be great if you could help with this issue. Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 18:15:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787149#M251447</guid>
      <dc:creator>Banana19</dc:creator>
      <dc:date>2021-12-22T18:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert only a word in an email text to bold/colored?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787153#M251451</link>
      <description>Have you tried using PROC ODS TEXT to format your text component of the email message and using the options within PROC ODSTEXT?&lt;BR /&gt;&lt;BR /&gt;That reference is 11 years old - probably outdated.</description>
      <pubDate>Wed, 22 Dec 2021 18:31:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787153#M251451</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-22T18:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert only a word in an email text to bold/colored?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787199#M251477</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;use html tags and convert entire line in bold/colored not a single word.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Just move the HTML tags to where you want the text formatted?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Hi all this your new colleague&amp;nbsp;&amp;lt;b&amp;gt;&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;John Doe&amp;lt;/b&amp;gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;and&lt;/FONT&gt; he has&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 06:19:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787199#M251477</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-12-23T06:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert only a word in an email text to bold/colored?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787330#M251559</link>
      <description>&lt;P&gt;I hope this can help you&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename memo Email 
				To=	("xxx@abc.com")		
				From="abc@xxx.com"
              	subject = "abc test"
				Type='TEXT/HTML'
				Content_type='TEXT/HTML'; 

data _null_ ;
		file memo ;
	put "Bonjour,";
	put /;
    put '&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;&amp;lt;p&amp;gt;&amp;lt;font color="#0000ff"&amp;gt;
		// Cet email est pour un test
		&amp;lt;/font&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;';
	put 'Hi all this your new colleague &amp;lt;b&amp;gt;&amp;lt;font color="#ff0000"&amp;gt;John Doe&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt; and he has 8 years of experience as &amp;lt;b&amp;gt;&amp;lt;font color="#ff0000"&amp;gt;Financial Analyst&amp;lt;/font&amp;gt;&amp;lt;/b&amp;gt;. You can fin his contact details in our intranet.....';
	put '&amp;lt;br&amp;gt;';
	put '&amp;lt;a href="https://communities.sas.com/t5/SAS-Programming/"&amp;gt;Exemple hyper link: click here&amp;lt;/a&amp;gt;';
	put '&amp;lt;br&amp;gt;';
	put "_______________________________________&amp;lt;br&amp;gt;";
	put "kelxxx&amp;lt;br&amp;gt;";

run;
filename memo clear;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kelxxx_0-1640342132702.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66949i297CE10F2F189FD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kelxxx_0-1640342132702.png" alt="kelxxx_0-1640342132702.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 10:36:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787330#M251559</guid>
      <dc:creator>kelxxx</dc:creator>
      <dc:date>2021-12-24T10:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert only a word in an email text to bold/colored?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787355#M251572</link>
      <description>Sorry for delayed reply. I tried PROC ODS TEXT. It worked on PDF files but it didn't work on email body. Thank you!</description>
      <pubDate>Fri, 24 Dec 2021 18:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787355#M251572</guid>
      <dc:creator>Banana19</dc:creator>
      <dc:date>2021-12-24T18:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert only a word in an email text to bold/colored?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787357#M251573</link>
      <description>Sorry for delayed reply. The text is displayed in bold after using &amp;lt;b&amp;gt;&amp;lt;/b&amp;gt; tags.</description>
      <pubDate>Fri, 24 Dec 2021 18:55:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787357#M251573</guid>
      <dc:creator>Banana19</dc:creator>
      <dc:date>2021-12-24T18:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert only a word in an email text to bold/colored?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787358#M251574</link>
      <description>It worked perfectly. Thank you!</description>
      <pubDate>Fri, 24 Dec 2021 18:56:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-only-a-word-in-an-email-text-to-bold-colored/m-p/787358#M251574</guid>
      <dc:creator>Banana19</dc:creator>
      <dc:date>2021-12-24T18:56:49Z</dc:date>
    </item>
  </channel>
</rss>

