Desktop productivity for business analysts and programmers

attaching to email

Reply
Contributor
Posts: 42

attaching to email

I have a sas eg code macro that makes a excel file for 200 different people and i have another code that sents out an email to the same 200 people but using different data sources. What would be the best way to add the excel attachment to the email code. 

 

 what i am trying to do it that if the name or email of the people from the attachment match the data from the email code than attach the excel file to the email and send out. Is there a general code that we can use to do this.

Super User
Posts: 10,530

Re: attaching to email

Make code for one person that solves the issue for that one person (creation of Excel file and sending email).

Post that code here, so we can give you hints how to run it dynamically for all persons.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Ask a Question
Discussion stats
  • 1 reply
  • 124 views
  • 0 likes
  • 2 in conversation