I am trying to use the "EmailService (Send with Document)" found in "Foundation". The SMTP host that I use does not require any authentication. But the email service is throwing "com.adobe.idp.dsc.email.ConnectionFailedException" if I dont provide a SMTP user and password. If I write my own custom java code to send email through the same SMTP host, it works without the authentication. By this way I was able to prove that authentication is indeed not needed by this SMTP host. Could somebody tell me if I am missing something that makes this service look for authentication information always? The "SMTP authentication" check box is un checked in service properties.
Sometimes the SMTP server is configured to allow emails to be sent without authentication from certain ip addresses, and with authentication from all others. This prevents spammers from hijacking your SMTP server. Are you running your test program from the same machine where Livecycle is running?
Thanks for the reply. Yes, I ran the test program from the same machine as LiveCycle is running. However, I will look closely at the IP Addresses once again. Meanwhile, let me know if you think there could be some thing else that could be causing this problem.
Did you solve this issue? I'm having the same problem with client's server that does not needs authentication. Is the first time I get this error but I've always used the component with authentication.
It looks ilke the component cannot work without SMTP authentication. I have contacted the Adobe Enterprise support regarding this. Waiting to hear back from them. Will let you know once I hear back from them.
I'm trying to use "Send with Document" to send an email message to a logged in user. All user data will be ingested with an LDAP sync. How can I get "Send with Document" to locate the logged in user's email address?
Don't know much about XPath or JDBC/SQL so I was wondering if there was a way to use User Lookup>Find User or LDAP Query to locate the email address.
I found a workaround. You're right, it seems to be a bug in LiveCycle.
A colleague suggested to pass a bogus username and password. I fonud out that by checking the box that says "SMTP Authenticate" does the trick on my end. You don't have to put anything under username or password as those will be ignored by your mail server.
Hope this helps! Let me know if this works for you.