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.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1329 views
  • 1 like
  • 3 in conversation