I am trying to send an email of one of the reports to myself via SAS VA. When I click on the send button, I get the following error message (picture below):
"E-mail could not be sent because: E-mail service error."
So I started digging a bit. In the following document and found this similar question and followed what Madelyn_SAS has written. The answer seems to be in the following document:
http://support.sas.com/documentation/cdl/en/bimtag/66823/PDF/default/bimtag.pdf
I have gone through the instructions in the section SMTP Mail Server and have edited the server.xml file with my SMTP server information. I have also added the SSL option and have performed the 3 steps regarding SAS Management Console at the end of that session. But I keep getting the same error.
My question is: Does anything have to be restarted? Or would it suffice just to edit the file?
Is there any log in which I can see why this sending fails?
Here are some thoughts:
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Tricks for SAS Visual Analytics Report Builders
SAS Visual Analytics Learning Center
Thanks Madelyn, I really like it when experts give detailed instructions instead of general jibber-jabber. I found the log file you told me to. Here is the latest entry in that. I think it has something to do with SSL.
[DESIGNER ] ERROR [tomcat-http--27] 2016-05-24 09:38:12,027 [ST-2-kZXSYrZYG2l1eFtc4fjk-cas:K_pedmob] com.sas.mobiledesigner.api.services.email.impl.EmailServiceImpl - Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: 192.168.27.12, port: 25;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: 192.168.27.12, port: 25;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
The following log might have a more specific message. Look for a timestamp around 2016-05-24 09:38
You also might want to consider opening a Technical Support track.
http://support.sas.com/ctx/supportform/createForm
Select SAS Visual Analytics as the Product and include the following:
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Tricks for SAS Visual Analytics Report Builders
SAS Visual Analytics Learning Center
Do you got solve it? I'm facing the same issue and I can't realize how to solve this problem.
My file.log is just the same as yours.
Best regards.
Have you been through the instructions above?
Yes.I tried:
Hi,
I got the solution to my problem. In my case, I just removed the ssl protocol from my server.xml!
I erased this fragment: mail.smtp.ssl.enable="true"
Best regards.
Great. Can you mark your post as answered then?
@thiagoglima - another good reason for not adding your post to others then
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.