Hi All...
I am having SAS 9.1 version in my personal computer and i am trying to send the mails by writing SAS code but i can't.
Is there any configuration required to do this process??? If Yes Can you please explain what is the process to follow to send the mails from SAS.
Thanks in advance..
Regards..
Sanjeev.K
Hi all.
Thanks for your clarifications.
I googled this topic and found a nice paper regarding SAS configuration for sending mails.
you can get that paper in bellow link.
http://www2.sas.com/proceedings/forum2008/038-2008.pdf
Regards..
Sanjeev.K
Hi:
There have been a LOT of previous postings on this subject. I'm surprised they didn't turn up on a search of the forums. But, even so, the documentation is quite thorough about describing what start up options needs to be set. Since you did not show your code, it's hard to make a suggestion. Were you using the FILENAME engine by itself or in conjunction with ODS?
Also, on your PC, if you are using Outlook, you can't successfully send mail until you wait for the Outlook popup box to warn you that it is sending mail on your behalf and you have to click 'Continue'. (also documented in a Tech Support note)
If you are still having issues after searching the doc, then you might want to work with Tech Support, because e-mail can be tricky depending on what you want to do, whether the BI Platform is involved, what your code looks like, what your mail client is, what your server is, whether you can change your SAS start up options, etc.
cynthia
Hi Cynthia..
Just i am using bellow basic code to send a sample mail..
FILENAME Mailbox EMAIL 'abc@gmail.com'
Subject='Test Mail message';
DATA _NULL_;
FILE Mailbox;
PUT "Hello";
PUT "This is a message from the SAS";
RUN;
Thanks..
Sanjeev.K
Sanjeev,
There has been a bunch written about this topic, both here and in SAS notes. There are lots of variables that may have impact in you circumstances. For instance, if you are using Lotus Notes, the process is different from using Outlook. If you have an SMTP gateway, you need to know its name. After, you have read some and you have tried some of the things, if you need to come back, provide more information (for instance: OS, e-mail client, and the code you tried).
Doc Muhlbaier
Duke
Hi Muhlbaier,
As i mentioned in earlier post, just i am using basic code to send a mail for testing purpose.
i am having Windows7 OS in my PC and using Outlook as mail client.
Regards..
Sanjeev.K
You need to set a number of SAS OPTIONS too. See, for instance,
Hi all.
Thanks for your clarifications.
I googled this topic and found a nice paper regarding SAS configuration for sending mails.
you can get that paper in bellow link.
http://www2.sas.com/proceedings/forum2008/038-2008.pdf
Regards..
Sanjeev.K
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.