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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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