I would like to email an html file (ie clock_output.html).
When I run this code the html output shows up in my email instead of as an attachment.
Also, the email is not being sent. It is just being created.
How do I fix these two problems.
Thank you.
FILENAME outmail EMAIL
subject="Clock"
from="test@test.com"
;
DATA _null_;
FILE outmail
to="test1@test.com"
ATTACH= "C:\Documents and Settings\clock_output.html";
put "This is the clock";
RUN;