SAS 9.2 Emailing using Office 365

Reply
Occasional Contributor
Posts: 5

SAS 9.2 Emailing using Office 365

I was converted from desktop Outlook to Office 365 email and now SAS crashes all the time.

 

Here is the current code:

filename outbox email 'abc@abc.com';                       

data _null_;

file outbox

subject="Report"

From="abc@abc.com"

   To=("abc@abc.com")

put ' ';

run;

 

Please assist.


Thanks.

Grand Advisor
Posts: 17,360

Re: SAS 9.2 Emailing using Office 365

Do you still have an installation of Outlook or are you using the web interface instead? 

 

Occasional Contributor
Posts: 5

Re: SAS 9.2 Emailing using Office 365

I have a desktop version of Outlook on my machine.


Respected Advisor
Posts: 3,063

Re: SAS 9.2 Emailing using Office 365

What do you mean by "SAS crashes all the time"? Please supply the actual SAS log with error messages if possible or do you mean SAS stops working completely after running the posted code?

Occasional Contributor
Posts: 5

Re: SAS 9.2 Emailing using Office 365

The program runs fine until the email code then sas.exe crashes and stops working.

Is there a way to save the log eventhough the program crashes?

Attachment
Grand Advisor
Posts: 17,360

Re: SAS 9.2 Emailing using Office 365

You generally just can't start sending emails from SAS, you need to set it up first to know which server and account to use. 

 

You may may need to modify these settings with Office 365 set up. 

 

Maybe workimg with your IT folks, you can set it up again. Info required and how to specify it are below

http://support.sas.com/resources/papers/proceedings13/023-2013.pdf

Occasional Contributor
Posts: 5

Re: SAS 9.2 Emailing using Office 365

Thanks for the help. I'm new to SAS. Is there a way to request help directly from SAS?


Grand Advisor
Posts: 17,360

Re: SAS 9.2 Emailing using Office 365

Sue, tech support is available with a valid SAS license. 

 

Note that SAS 9.2 only has Level B support - its old. 

 

http://support.sas.com/ctx/supportform/createForm

 

Occasional Contributor
Posts: 5

Re: SAS 9.2 Emailing using Office 365

Thanks Reeza, I will contact SAS and post any relevant updates that will help the community.


Ask a Question
Discussion stats
  • 8 replies
  • 259 views
  • 0 likes
  • 3 in conversation