BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi ,
I installed in my computer SAS 9.1 (A version of students).
Im new with sas....

now Im trying to send email with SAS.
As i read i I passed through :
C:\Program Files\SAS\SAS 9.1\nls\en to sasV9 and insert the folowing statments:

-EMAILAUTHPROTOCOL=LOGIN
-EMAILHOST smtp.mail.yahoo.com
-EMAILID=yael.barak@yahoo.com
-EMAILPW= my password
-EMAILPORT 25
-EMAILSYS SMTP

I saved the changes and open sas code and wrote the folowing code:

filename mail email "yael.barak@yahoo.com";
data _null_;
file mail;
put "test";
run;

I get this error:
ERROR: Unable to connect to SMTP server.
ERROR: connect call failed, system error is '10013 - WSAEACCES'.

What could be the reason?
4 REPLIES 4
Patrick
Opal | Level 21
Are your connection infos correct (i.e. port number)?

http://help.yahoo.com/l/us/yahoo/mail/original/mailplus/pop/pop-08.html
deleted_user
Not applicable
Hi Patrick Thanks for your reply .
Yes the connection infos correct , but im not using outlook express.

Do i have to use it ?

Merry Christmas !
deleted_user
Not applicable
You might want to try using Outlook express to confirm that the parameters are all correct. If it doesn't work, then there is something wrong with the parms. If it does work then the problem is on the sas side.

I know that att.yahoo.com's servers don't use that port number.

Tom Miller
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
You mentioned that you do not use Outlook Express. Do you currently use an SMTP mail client on your computer now (with success)? Or do you use a web-based EMAIL application? Possibly you are not authorized to access using SMTP?

Scott Barry
SBBWorks, Inc.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1165 views
  • 0 likes
  • 3 in conversation