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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 923 views
  • 0 likes
  • 3 in conversation