12-23-2016 05:03 AM
I am getting "E-mail could not be sent because: E-mail service error" while trying to send an email from Report Designer window. I did the following based on other posts in the community and google results:
1) SAS Management Console: set email.host and email.port in Application Management -> Configuration Manager -> Application Infrastructure.
2) Put system options as below in sasv9_usermods.cfg file:
-emailauthprotocol = login
-emailpw = xxxxxxx
3) Added below line in server.sml file:
<Resource auth="Container" mail.smtp.host="mailer4.xxxxx.com.au" mail.smtp.port="587" name="sas/mail/Session" type="javax.mail.Session" mail.smtp.auth="true" mail.smtp.user="email@example.com" password="xxxxxxx" mail.smtp.ssl.enable="true"/>
4) Did Object Spawner and Server restart.
I still am getting same error. What am I doing wrong ?
I am providing userid value as my outlook email id.
12-23-2016 10:19 AM
It really helps when receiving errors to post both the code and the entire error from the log window. Amazingly compared to some products many SAS error messages are actually descriptive. Also, sometimes the reported error is related to a warning received earlier.
Is the first time you are attempting to send emails or did this work in the past and has stopped working? If previously working code has stopped it often means that something has changed in your system. For instance, my IT organization is notorious for changing security settings without notifying users and processes failing is the first clue.
You may need to check with your IT staff about things related to smtp mail server, correct name, port and if you even have smtp running.
12-24-2016 12:38 PM
@ballardw the error message actually is only "E-mail could not be sent because: E-mail service error". There is no Show Details or Log generated with error description. This is the first time I am trying to send out email from SAS VA Report Designer window. Also, there's no coding involved for this. I actually am able to send email successfully if I write a code using FILENAME statement and DATA Steps. However, I get the error if i use "Email" option from the menu "File".
12-27-2016 05:28 AM
I would like to suggest you that first try to send an e-mail through your server command prompt and after that try to send an email through SAS EG, For your reference has attached the link below.
After doing above two step you can go to SAS Visual Analytics for sending email.
06-20-2017 12:53 AM
Need further help from the community? Please ask a new question.