<?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 customize the send mails  personalization for each person, code is below , please anyone in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846191#M334538</link>
    <description>&lt;P&gt;All mail_id seem to be identical, so you would only send one email anyway.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2022 16:54:21 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2022-11-24T16:54:21Z</dc:date>
    <item>
      <title>how to customize the send mails  personalization for each person, code is below , please anyone help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846090#M334487</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how to customize the send mails&amp;nbsp; personalization for each person, code is below , please anyone help on this .Where &lt;/P&gt;
&lt;P&gt;-where we make changes on my code&lt;/P&gt;
&lt;P&gt;-Customize for each person send message&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="1592"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;EMP_ID&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;EMP_NAME&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;GENDER&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;BIRTHDAY&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;COMPANY&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DESIGN&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;LOC&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;MAIL_ID&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;100&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;VENKATA&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;24/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;SAMA&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DIRECTOR&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;PUNE&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;101&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;MURALI&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;24/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;SAMA&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DEVELOPER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;PUNE&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;102&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;PRABHAKAR&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;24/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;SAMA&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DOMAIN&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;BANG&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;103&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;PRASANNA&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;FEMALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;24/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;INFOTECH&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;PROGRAMMER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;HYD&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;104&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;RAMYA&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;FEMALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;26/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;GOOGLE&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DEVELOPER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;KOCHI&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;105&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;MOUNIKA&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;FEMALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;23/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;MICROSOFT&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;PROGRAMMER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;CHENNAI&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;106&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;KIRAN&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;26/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;ACCENTURE&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;ANALYST&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;BANG&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;107&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;NIKIL&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;25/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;WIPRO&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DEVELOPER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;MUMBAI&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;108&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;MANOHAR&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;24/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;CYIENT&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;PROGRAMMER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;HYD&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;109&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;RAVINDRA&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;26/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;INFOSIS&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;ANALYST&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;PUNE&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;110&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;PAVAN&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;25/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;SAMA&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;PROGRAMMER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;CHENNAI&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;111&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;RAMANI&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;FEMALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;24/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;ELI LILLY&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DEVELOPER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;KOCHI&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options unbuflog;&lt;BR /&gt;proc import datafile="/home/u61914035/import files/birthdayXL.xlsx"&lt;BR /&gt;dbms=xlsx&lt;BR /&gt;out=ds&lt;BR /&gt;replace;&lt;BR /&gt;run;&lt;BR /&gt;data staff;&lt;BR /&gt;set ds;&lt;BR /&gt;informat BIRTHDAY ddmmyy10.;&lt;BR /&gt;format BIRTHDAY date9.;&lt;BR /&gt;where BIRTHDAY ne .;&lt;BR /&gt;todays=put(today(),date9.);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data bday_today;&lt;BR /&gt;set staff;&lt;BR /&gt;bday=substr(put(BIRTHDAY,date9.),1,5);&lt;BR /&gt;tday=upcase(substr(todays,1,5));&lt;BR /&gt;if bday=tday;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;BR /&gt;select count(distinct MAIL_ID) into :emailcnt from bday_today;&lt;BR /&gt;%let emailcnt = %cmpres(&amp;amp;emailcnt);&lt;BR /&gt;select distinct MAIL_ID into :email1 - :email&amp;amp;emailcnt from bday_today;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;%macro mail;&lt;BR /&gt;%if &amp;amp;emailcnt gt 0 %then&lt;BR /&gt;%do i = 1 %to &amp;amp;emailcnt;&lt;BR /&gt;filename Myemail email&lt;BR /&gt;from = "ravindranadh044@gmail.com"&lt;BR /&gt;subject = "!!! BIRTHDAY ALERT !!!"&lt;BR /&gt;attach=("/home/u61914035/import files/0d01cc9cebe2e8de8b60d8fbf6ee47bc.gif")&lt;BR /&gt;to = "&amp;amp;&amp;amp;email&amp;amp;i"&lt;BR /&gt;type = "text/html";&lt;/P&gt;
&lt;P&gt;data null;&lt;BR /&gt;file Myemail;&lt;BR /&gt;set bday_today(where = (MAIL_ID="&amp;amp;&amp;amp;email&amp;amp;i"));&lt;BR /&gt;put 'HAPPY BIRTHDAY' ;&lt;BR /&gt;RUN;&lt;BR /&gt;%end;&lt;BR /&gt;%mend;&lt;BR /&gt;%mail;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 07:57:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846090#M334487</guid>
      <dc:creator>sas_university</dc:creator>
      <dc:date>2022-11-24T07:57:48Z</dc:date>
    </item>
    <item>
      <title>how to customize the text or document through mail to each persons who have bdays automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846088#M334488</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how to customize the text or document through mail to each persons who have bdays automatically without running the program daily...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="1592"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;EMP_ID&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;EMP_NAME&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;GENDER&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;BIRTHDAY&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;COMPANY&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DESIGN&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;LOC&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;MAIL_ID&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;100&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;VENKATA&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;24/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;SAMA&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DIRECTOR&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;PUNE&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;101&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;MURALI&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;24/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;SAMA&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DEVELOPER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;PUNE&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;102&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;PRABHAKAR&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;24/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;SAMA&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DOMAIN&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;BANG&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;103&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;PRASANNA&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;FEMALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;24/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;INFOTECH&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;PROGRAMMER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;HYD&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;104&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;RAMYA&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;FEMALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;26/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;GOOGLE&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DEVELOPER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;KOCHI&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;105&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;MOUNIKA&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;FEMALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;23/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;MICROSOFT&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;PROGRAMMER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;CHENNAI&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;106&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;KIRAN&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;26/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;ACCENTURE&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;ANALYST&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;BANG&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;107&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;NIKIL&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;25/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;WIPRO&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DEVELOPER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;MUMBAI&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;108&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;MANOHAR&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;24/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;CYIENT&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;PROGRAMMER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;HYD&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;109&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;RAVINDRA&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;26/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;INFOSIS&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;ANALYST&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;PUNE&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;110&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;PAVAN&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;MALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;25/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;SAMA&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;PROGRAMMER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;CHENNAI&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="142.9px" height="30px"&gt;111&lt;/TD&gt;
&lt;TD width="142.95px" height="30px"&gt;RAMANI&lt;/TD&gt;
&lt;TD width="156.883px" height="30px"&gt;FEMALE&lt;/TD&gt;
&lt;TD width="172.883px" height="30px"&gt;24/11/22&lt;/TD&gt;
&lt;TD width="182.9px" height="30px"&gt;ELI LILLY&lt;/TD&gt;
&lt;TD width="171.933px" height="30px"&gt;DEVELOPER&lt;/TD&gt;
&lt;TD width="159.883px" height="30px"&gt;KOCHI&lt;/TD&gt;
&lt;TD width="460.667px" height="30px"&gt;ravindranadh2125@gmail.com&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options unbuflog;&lt;BR /&gt;proc import datafile="/home/u61914035/import files/birthdayXL.xlsx"&lt;BR /&gt;dbms=xlsx&lt;BR /&gt;out=ds&lt;BR /&gt;replace;&lt;BR /&gt;run;&lt;BR /&gt;data staff;&lt;BR /&gt;set ds;&lt;BR /&gt;informat BIRTHDAY ddmmyy10.;&lt;BR /&gt;format BIRTHDAY date9.;&lt;BR /&gt;where BIRTHDAY ne .;&lt;BR /&gt;todays=put(today(),date9.);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data bday_today;&lt;BR /&gt;set staff;&lt;BR /&gt;bday=substr(put(BIRTHDAY,date9.),1,5);&lt;BR /&gt;tday=upcase(substr(todays,1,5));&lt;BR /&gt;if bday=tday;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;BR /&gt;select count(distinct MAIL_ID) into :emailcnt from bday_today;&lt;BR /&gt;%let emailcnt = %cmpres(&amp;amp;emailcnt);&lt;BR /&gt;select distinct MAIL_ID into :email1 - :email&amp;amp;emailcnt from bday_today;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;%macro mail;&lt;BR /&gt;%if &amp;amp;emailcnt gt 0 %then&lt;BR /&gt;%do i = 1 %to &amp;amp;emailcnt;&lt;BR /&gt;filename Myemail email&lt;BR /&gt;from = "ravindranadh044@gmail.com"&lt;BR /&gt;subject = "!!! BIRTHDAY ALERT !!!"&lt;BR /&gt;attach=("/home/u61914035/import files/0d01cc9cebe2e8de8b60d8fbf6ee47bc.gif")&lt;BR /&gt;to = "&amp;amp;&amp;amp;email&amp;amp;i"&lt;BR /&gt;type = "text/html";&lt;/P&gt;
&lt;P&gt;data null;&lt;BR /&gt;file Myemail;&lt;BR /&gt;set bday_today(where = (MAIL_ID="&amp;amp;&amp;amp;email&amp;amp;i"));&lt;BR /&gt;put 'HAPPY BIRTHDAY' ;&lt;BR /&gt;RUN;&lt;BR /&gt;%end;&lt;BR /&gt;%mend;&lt;BR /&gt;%mail;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 07:49:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846088#M334488</guid>
      <dc:creator>sas_university</dc:creator>
      <dc:date>2022-11-24T07:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails  personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846092#M334489</link>
      <description>&lt;P&gt;Please don't post questions multiple times.&lt;/P&gt;
&lt;P&gt;Please post data in usable form: a data step using datalines.&lt;/P&gt;
&lt;P&gt;When posting code, please use "insert sas code" (the button with the running person) and post properly formatted code only.&lt;/P&gt;
&lt;P&gt;Form your description i don't understand what you want to achieve.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 08:14:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846092#M334489</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-11-24T08:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails  personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846094#M334491</link>
      <description>&lt;PRE&gt;proc import datafile="/home/u61914035/import files/birthdayXL.xlsx"
dbms=xlsx
out=ds
replace;
run;
data staff;
set ds;
informat BIRTHDAY ddmmyy10.;
format BIRTHDAY date9.;
where BIRTHDAY ne .;
todays=put(today(),date9.);
run;

data bday_today;
set staff;
bday=substr(put(BIRTHDAY,date9.),1,5);
tday=upcase(substr(todays,1,5));
if bday=tday;
run;

&amp;nbsp;

proc sql;
select count(distinct MAIL_ID) into :emailcnt from bday_today;
%let emailcnt = %cmpres(&amp;amp;emailcnt);
select distinct MAIL_ID into :email1 - :email&amp;amp;emailcnt from bday_today;
quit;

%macro mail;
%if &amp;amp;emailcnt gt 0 %then
%do i = 1 %to &amp;amp;emailcnt;
filename Myemail email
from = "ravindranadh044@gmail.com"
subject = "!!! BIRTHDAY ALERT !!!"
attach=("/home/u61914035/import files/0d01cc9cebe2e8de8b60d8fbf6ee47bc.gif")
to = "&amp;amp;&amp;amp;email&amp;amp;i"
type = "text/html";

data null;
file Myemail;
set bday_today(where = (MAIL_ID="&amp;amp;&amp;amp;email&amp;amp;i"));
put 'HAPPY BIRTHDAY' ;
RUN;
%end;
%mend;
%mail;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="sas-author-username"&gt;Sorry for post&amp;nbsp; twice,&lt;/DIV&gt;
&lt;DIV class="sas-author-username"&gt;1.how to customize a mail for each Pearson&lt;/DIV&gt;
&lt;DIV class="sas-author-username"&gt;2.how to customize the text or document through mail to each persons who have bdays automatically&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Nov 2022 08:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846094#M334491</guid>
      <dc:creator>sas_university</dc:creator>
      <dc:date>2022-11-24T08:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails  personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846191#M334538</link>
      <description>&lt;P&gt;All mail_id seem to be identical, so you would only send one email anyway.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 16:54:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846191#M334538</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-11-24T16:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846196#M334542</link>
      <description>only one mail  given for example&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Nov 2022 17:34:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846196#M334542</guid>
      <dc:creator>sas_university</dc:creator>
      <dc:date>2022-11-24T17:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846199#M334545</link>
      <description>&lt;P&gt;Simple approach:&lt;/P&gt;
&lt;P&gt;Create a macro which sends one email to one person. It should accept the email address as parameter.&lt;/P&gt;
&lt;P&gt;Then read yor initial dataset, and for every observation where day(birthday) = day(today()) and month(birthday) = month(today()) call the macro with CALL EXECUTE.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 17:50:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846199#M334545</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-11-24T17:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846240#M334556</link>
      <description>how to customise text to different persons...&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Nov 2022 03:48:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846240#M334556</guid>
      <dc:creator>sas_university</dc:creator>
      <dc:date>2022-11-25T03:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846244#M334559</link>
      <description>&lt;P&gt;&lt;A class="trigger-hovercard" style="color: #006699;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31304" target="_blank"&gt; @&lt;/A&gt;&lt;A class="trigger-hovercard" style="color: #006699;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31304" target="_blank"&gt;PeterClemmensen&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please look into this problem&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 06:32:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846244#M334559</guid>
      <dc:creator>sas_university</dc:creator>
      <dc:date>2022-11-25T06:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846245#M334560</link>
      <description>&lt;P&gt;Define "customize". Show examples of the text for different persons. Provide example data supplying the items for customization.&lt;/P&gt;
&lt;P&gt;For code, provide example data in a&amp;nbsp;&lt;STRONG&gt;data step with datalines. DO NOT SKIP THIS.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 06:52:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846245#M334560</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-11-25T06:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846249#M334562</link>
      <description>&lt;P&gt;data ds;&lt;/P&gt;
&lt;P&gt;infile datalines;&lt;/P&gt;
&lt;P&gt;input EMP_ID EMP_NAME$&amp;nbsp;&amp;nbsp; GENDER$&amp;nbsp; BIRTHDAY COMPANY$&amp;nbsp; DESIGN$&amp;nbsp; LOC $&amp;nbsp; MAIL_ID$ 1 -26;&lt;/P&gt;
&lt;P&gt;cards;&lt;/P&gt;
&lt;P&gt;100&amp;nbsp;&amp;nbsp; venkata&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; male&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 27/11/2022&amp;nbsp;&amp;nbsp;&amp;nbsp; sama&amp;nbsp;&amp;nbsp;&amp;nbsp; director&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pune&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ravindranadh2125@gmail.com&lt;/P&gt;
&lt;P&gt;101&amp;nbsp;&amp;nbsp; murali&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; male&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 28/11/2022&amp;nbsp;&amp;nbsp;&amp;nbsp; sama&amp;nbsp;&amp;nbsp;&amp;nbsp; teamlead&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pune&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; ravindranadh2125@gmail.com&lt;/P&gt;
&lt;P&gt;102&amp;nbsp; prabhkar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; male&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; 27/11/2022&amp;nbsp;&amp;nbsp; sama&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; manager&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pune&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ravindranadh2125@gmail.com&lt;/P&gt;
&lt;P&gt;103&amp;nbsp; prasanna&amp;nbsp;&amp;nbsp;&amp;nbsp; female&amp;nbsp;&amp;nbsp;&amp;nbsp; 27/11/2022&amp;nbsp; infotech&amp;nbsp;&amp;nbsp;&amp;nbsp; juniordev&amp;nbsp;&amp;nbsp;&amp;nbsp; hyd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ravindranadh2125@gmail.com&lt;/P&gt;
&lt;P&gt;104&amp;nbsp; ramya&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; female&amp;nbsp;&amp;nbsp;&amp;nbsp; 27/11/2022&amp;nbsp; infotech&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; juniordev&amp;nbsp;&amp;nbsp; chennai&amp;nbsp;&amp;nbsp; ravindranadh2125@gmail.com&lt;/P&gt;
&lt;P&gt;105 mounika&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; female&amp;nbsp;&amp;nbsp;&amp;nbsp; 28/11/2022&amp;nbsp; google&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; juniordev&amp;nbsp;&amp;nbsp;&amp;nbsp; hyd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ravindranadh2125@gmail.com&lt;/P&gt;
&lt;P&gt;106&amp;nbsp; kiran&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; male&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 29/11/2022&amp;nbsp;&amp;nbsp; google&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; juniordev&amp;nbsp;&amp;nbsp;&amp;nbsp; hyd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ravindranadh2125@gmail.com&lt;/P&gt;
&lt;P&gt;107 nikhil&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; male&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28/11/2022&amp;nbsp;&amp;nbsp; cyient&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; juniordev&amp;nbsp;&amp;nbsp; bang&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ravindranadh2125@gmail.com&lt;/P&gt;
&lt;P&gt;108 manohar&amp;nbsp; &amp;nbsp;&amp;nbsp; male&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; 28/11/2022&amp;nbsp;&amp;nbsp; infosis&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; juniordev&amp;nbsp;&amp;nbsp;&amp;nbsp; bang&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ravindranadh2125@gmail.com&lt;/P&gt;
&lt;P&gt;109&amp;nbsp; ravindra&amp;nbsp; &amp;nbsp;&amp;nbsp; male&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27/11/2022&amp;nbsp;&amp;nbsp;&amp;nbsp; infosis&amp;nbsp;&amp;nbsp;&amp;nbsp; juniordev&amp;nbsp;&amp;nbsp;&amp;nbsp; hyd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ravindranadh2125@gmail.com&lt;/P&gt;
&lt;P&gt;110&amp;nbsp; pavan&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; male&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27/11/2022&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sama&amp;nbsp; &amp;nbsp;&amp;nbsp; juniordev&amp;nbsp;&amp;nbsp;&amp;nbsp; pune&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ravindranadh2125@gmail.com&lt;/P&gt;
&lt;P&gt;111 ramani&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; male&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27/11/2022&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eli llily&amp;nbsp;&amp;nbsp; &amp;nbsp; juniordev&amp;nbsp;&amp;nbsp;&amp;nbsp; vizag&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ravindranadh2125@gmail.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;PRE&gt;proc import datafile="/home/u61914035/import files/birthdayXL.xlsx"
dbms=xlsx
out=ds
replace;
run;
data staff;
set ds;
informat BIRTHDAY ddmmyy10.;
format BIRTHDAY date9.;
where BIRTHDAY ne .;
todays=put(today(),date9.);
run;

data bday_today;
set staff;
bday=substr(put(BIRTHDAY,date9.),1,5);
tday=upcase(substr(todays,1,5));
if bday=tday;
run;

&amp;nbsp;

proc sql;
select count(distinct MAIL_ID) into :emailcnt from bday_today;
%let emailcnt = %cmpres(&amp;amp;emailcnt);
select distinct MAIL_ID into :email1 - :email&amp;amp;emailcnt from bday_today;
quit;

%macro mail;
%if &amp;amp;emailcnt gt 0 %then
%do i = 1 %to &amp;amp;emailcnt;
filename Myemail email
from = "ravindranadh044@gmail.com"
subject = "!!! BIRTHDAY ALERT !!!"
attach=("/home/u61914035/import files/0d01cc9cebe2e8de8b60d8fbf6ee47bc.gif")
to = "&amp;amp;&amp;amp;email&amp;amp;i"
type = "text/html";

data null;
file Myemail;
set bday_today(where = (MAIL_ID="&amp;amp;&amp;amp;email&amp;amp;i"));
put 'HAPPY BIRTHDAY' ;
RUN;
%end;
%mend;
%mail;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Nov 2022 07:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846249#M334562</guid>
      <dc:creator>sas_university</dc:creator>
      <dc:date>2022-11-25T07:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846252#M334563</link>
      <description>&lt;P&gt;Your code will send identical mails to all recipients, there is no customization.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Show examples for the mails you want.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 07:52:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846252#M334563</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-11-25T07:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846269#M334571</link>
      <description>career.clinica@gmail.com&lt;BR /&gt;&lt;BR /&gt;ravindranadhchowdari@gmail.com&lt;BR /&gt;&lt;BR /&gt;ravindranadh044@gmail.com&lt;BR /&gt;&lt;BR /&gt;klpn.2000@gmail.com&lt;BR /&gt;&lt;BR /&gt;ravalaramya1998@gmail.com&lt;BR /&gt;&lt;BR /&gt;mounikarajkumar25@gmail.com&lt;BR /&gt;&lt;BR /&gt;kiran.nallagulla@gmail.com&lt;BR /&gt;&lt;BR /&gt;nikhilyallamandala1997@gmail.com&lt;BR /&gt;&lt;BR /&gt;pathipati778@gmail.com&lt;BR /&gt;&lt;BR /&gt;ravindranadh2125@gmail.com&lt;BR /&gt;&lt;BR /&gt;yedumbakulapavam@gmail.com&lt;BR /&gt;&lt;BR /&gt;srilakshmiramani5@gmail.com&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Nov 2022 09:03:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846269#M334571</guid>
      <dc:creator>sas_university</dc:creator>
      <dc:date>2022-11-25T09:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846332#M334592</link>
      <description>So the only thing that changes is the recipient?</description>
      <pubDate>Fri, 25 Nov 2022 15:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846332#M334592</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-11-25T15:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846363#M334600</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;  yes&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Nov 2022 18:26:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846363#M334600</guid>
      <dc:creator>sas_university</dc:creator>
      <dc:date>2022-11-25T18:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize the send mails personalization for each person, code is below , please anyone</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846367#M334602</link>
      <description>&lt;P&gt;Then I have already given you what to do:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a macro which sends one email to one person. It should accept the email address as parameter.&lt;/P&gt;
&lt;P&gt;Then read yor initial dataset, and for every observation where day(birthday) = day(today()) and month(birthday) = month(today()) call the macro with CALL EXECUTE.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 19:06:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-customize-the-send-mails-personalization-for-each-person/m-p/846367#M334602</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-11-25T19:06:20Z</dc:date>
    </item>
  </channel>
</rss>

