Date: Thu, 16 Mar 2006 14:58:43 -0600
Reply-To: Rob Rohrbough <Rob@ROHRBOUGH-SYSTEMS.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Rob Rohrbough <Rob@ROHRBOUGH-SYSTEMS.COM>
Subject: Re: SMTP Authentication Protocol in SAS
In-Reply-To: <BC2677876A78314798FA7FC379CC63C413ADA5@VBAPHCMSGC3.vba.va.gov>
Content-Type: text/plain; charset="us-ascii"
Neal, thanks for your reply and good luck. I had used "sender=" in a
work-around using my local ISP. I had not thought of using it with my third
party with authentication; so, I tried it. However, it generated the same
result.
Thanks,
Rob
> -----Original Message-----
> From: Musitano, Neal, VBAPHILITC [mailto:neal.musitano@va.gov]
> Sent: Thursday, March 16, 2006 1:56 PM
> To: Rob Rohrbough
> Subject: RE: SMTP Authentication Protocol in SAS
>
>
>
> I had a different e-mail problem using SAS 9.1.3, In the
> course of figuring out what was wrong the SAS people
> mentioned "sender"
>
> so don't know if this will help but try adding
> SENDER="Me@MyDomain.com" just before the from.
>
> good luck,
>
> Neal
>
> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU]On
> Behalf Of Rob
> Rohrbough
> Sent: Thursday, March 16, 2006 1:25 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: SMTP Authentication Protocol in SAS
>
>
> Hi to all you e-mail senders!
>
> I am having trouble sending e-mail with SAS and the SMTP
> protocol via my
> third party e-mail vendor, which requires SMTP
> Authentication. I can send
> via my local ISP, which does not require authentication, but
> when I try my
> third party vendor, I get:
>
> ERROR: Email: 535 Authentication failed
>
> So far, no-one at SAS has been able to tell me what protocol
> they are using
> or help me debug. I can limp by with my local ISP to
> demonstrate to my
> clients. However, I am hoping that some of you have worked
> with SAS sending
> via an SMTP sever that does require authentication and know
> the protocol
> used. The docs specify "-emailauthprotocol login", as I used
> (see below -
> obfuscated for security). Is "login" a standard protocol in
> the SMTP world,
> or is that just a keyword for SAS?
>
> Any takers?
>
> TIA,
>
> Rob
>
> Rob Rohrbough
> Omaha, NE, USA
>
>
> The call to SAS:
>
> set RSDttitle="RSD Tools under SAS 9.1.3"
> set RSDtExecutable="C:\Program Files\SAS\SAS 9.1\sas.exe"
> set RSDtsasCfg=-config "C:\Program Files\SAS\SAS 9.1\nls\en\SASV9.CFG"
> set RSDtsasAut=-work W:\SASwork -SASINITIALFOLDER D:\MyFolder
> set RSDtSASemail=-emailsys SMTP -emailhost mySMTPserver -emailport 50
> set RSDtSASemail=%RSDtSASemail% -emailauthprotocol login
> set RSDtSASemail=%RSDtSASemail% -emailid Me@MyDomain.com -emailpw mypw
> start %RSDttitle% %RSDtExecutable% %RSDtsasCfg% %RSDtsasAut%
> %RSDtSASemail%
>
>
> The resulting log with my code:
>
> 1 filename myfile email
> 2 from = "Me@MyDomain.com"
> 3 replyto = "Me@MyDomain.com"
> 4 to = "Test@TestDomain.com"
> 5 subject = "SAS E-mail Test"
> 6 type = "text/plain"
> 7 /* attach=( "attachment file" ct='text/html'
> ext='html')*/
> 8 ;
> 9 data _null_;
> 10 file myfile;
> 11 put 'This is an e-mail test in SAS from.' /
> 12 'me to my test account.'//
> 13 'Rob';
> 14 run;
>
> NOTE: The file MYFILE is:
> E-Mail Access Device
>
> ERROR: Email: 535 Authentication failed
> NOTE: The SAS System stopped processing this step because of errors.
> NOTE: DATA statement used (Total process time):
> real time 0.87 seconds
> cpu time 0.03 seconds
>
|