BookmarkSubscribeRSS Feed
NN
Quartz | Level 8 NN
Quartz | Level 8
Hi,
In sas9.2 we have the option to specify the smtp to use to send our email during a session. With the emailhost emailport etc: options.

When i try to use this i get the following error
ERROR: No email identity, specify -EMAILID=userid in config file or on command line.

I have specified the EMAILID="myloginid" in the options statement.

If someone could please guide on this.

Thanks
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
In earlier versions of SAS, there was an issue with -EMAILID:
http://support.sas.com/kb/3/691.html
http://support.sas.com/kb/6/734.html
http://support.sas.com/kb/6/820.html
http://support.sas.com/kb/20/342.html

Are you using the rest of the system options?? As it says in the doc:
"For the SMTP access method, use this option (EMAILAUTHPROTOCOL=) in conjunction with the EMAILID=, EMAILPW=, EMAILPORT, and EMAILHOST system options. EMAILID= provides the user name, EMAILPW= provides the password, EMAILPORT specifies the port to which the SMTP server is attached, EMAILHOST specifies the SMTP server that supports e-mail access for your site, and EMAILAUTHPROTOCOL= provides the protocol."
http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#a002221206.htm
http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#a001472105.htm
http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#a002135033.htm (it says here that EMAILID can be either a logon ID, an e-mail profile, or an e-mail address -- have you tried each of these??)

I'd suggest that you work with your email administrator to make sure that you are specifying the all the correct values. Also, if your installation is part of a BI Platform install, you may have to refer to the Web Application Administration Guide for configuration info:
http://support.sas.com/documentation/cdl/en/biwaag/63536/HTML/default/viewer.htm#a003313541.htm

Also, the SAS Companion for your operating system should have some configuration information, such as this doc for Windows:
http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/viewer.htm#sassession.htm where it says that: "SMTP is available only by using the FILENAME statement for e-mail. If you specify SMTP as the e-mail system in the EMAILSYS system option and you are using an e-mail dialog box, the MAPI e-mail system is used. For information about using SMTP, see SAS Language Reference: Concepts as well as FILENAME Statement, EMAIL (SMTP) Access Method, the EMAILHOST system option, and the EMAILPORT system option."

If you look in the doc, there is an additional link to the FILENAME statement doc for SMTP:
http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#a002058232.htm
which says: "To send e-mail to an SMTP server, you first specify the SMTP e-mail interface with the EMAILSYS system option, use the FILENAME statement to specify the EMAIL device type, and then submit SAS statements in a DATA step or in SCL code.".

If you check everything out and you continue to have problems, you might wish to open a track with Tech Support.

cynthia

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!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1 reply
  • 683 views
  • 0 likes
  • 2 in conversation