BookmarkSubscribeRSS Feed
sas_university
Obsidian | Level 7

Suppose if i have an excel sheet with names and dob's and without running code daily but the mail should send to them the bday wishes to particular persons separately through the mail id.

 

can anyone help me with this.

 

 

3 REPLIES 3
SASKiwi
PROC Star

You could schedule a SAS program that checks a list of names and birthdays and sends them an email if the current date matches the birthday if that is what you mean. A SAS program still has to run but it can happen automatically, rather than you running it manually. Is that what you want?

sas_university
Obsidian | Level 7
i'll run once so that it should send wishes directly to their mails
ChrisHemedinger
Community Manager

See the article: How to send email using SAS, which contains several examples including one for targeted emails. @SASKiwi is correct that the program needs to run on a regular cadence in order to send the email to the intended recipients on the correct date.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 955 views
  • 1 like
  • 3 in conversation