My computer has 32bit SAS 9.4 and 32bit MS Office Professional Plus 2010, and am trying to set up a program to automatically email users when it is run. I have two problems: 1. If I have MS Outlook open on my computer while the program is running, I get an error message window in SAS that pops up titled "Outlook Data File" and the message is: 'The file c:\users\......\*.ost' cannot be opened'. 2. If I close MS Outlook before I run the SAS program, it creates the email. However, when I open up MS Outlook, the email is just sitting in my 'outbox' until the program sends/receives. I'd like for the email to automatically be sent without my having to open MS Outlook. One of my coworkers is able to use the exact same program and does not have either of these problems (the email is created and delivered as soon as the program is run, it does not matter if MS Outlook is open). We've checked and we have the same settings in Tools->Options->System->communications->email. I am not sure if it matters, but we can't use SMTP, only MS Exchange Server. Has anyone else had this problem? Or can anyone point me in a general direction to figure it out? This is an example of the code that I am using: filename outbox email emailsys=mapi to=email@address.com subject='TEST EMAIL SUBJECT'; data _null_; file outbox; put 'BODY OF TEST EMAIL'; run; Thanks! Michelle
... View more