11 Replies Latest reply on Oct 29, 2009 6:33 AM by Aditya S.

    Email service

    Badri Lakshminarasimhan Level 1
      Hi,

      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.

      Thanks.

      Regards,
      Badri.
        • 1. Re: Email service
          HowardTreisman Level 1
          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?
          Howard
          http://www.avoka.com
          • 2. Re: Email service
            Badri Lakshminarasimhan Level 1
            Hi Howard,

            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.

            - Badri.
            • 3. Re: Email service
              HowardTreisman Level 1
              Another thought: there are two places where you can configure connection properties - either at the service level, or at the individual action level. Are you perhaps using the wrong ones?
              Apart from that, I'm out of ideas?
              Sorry...
              • 5. Re: Email service
                Level 1
                Badri,

                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.

                Thanks in advance for your response!
                • 6. Re: Email service
                  Badri Lakshminarasimhan Level 1
                  Hi Roland,

                  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.

                  - Badri.
                  • 7. Re: Email service
                    Level 1
                    Hi,

                    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.

                    Thanks,
                    Pat
                    • 8. Re: Email service
                      Level 1
                      Bradri,

                      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.

                      -Rolando
                      • 9. Re: Email service
                        HowardTreisman Level 1
                        Hi Patrick
                        There is no concept of a "Logged in user" when a process runs, because a process isn't owned by one user.
                        You can find out the email address of the last person to complete a particular step.
                        The easiest way to do this is with our LookupUser component:
                        More information here:
                        http://avoka.dnsalias.com/confluence/display/Public/Find+Out+Details+About+the+Last+Form+U ser
                        Download here:
                        http://www.avoka.com/apps/checkcookie?qpac=y&qpac_code=avokaESComponents&location=%2Fapps% 2Fqpacdownload

                        Howard
                        http://www.avoka.com
                        • 10. Re: Email service
                          Badri Lakshminarasimhan Level 1
                          Hi Roland,

                          This does not work for me. I am still confused how a simple java program trying to connect to the same SMTP host works without authentication, while LiveCycle needs one. It does not work if I pass dummy user id password. I am trying to figure out what exactly is it authenticating upon, probably it is trying to connect to the company network before reaching out to the email server, or anyting like that.

                          Moreover, we are still using the pre-release (evaluation copy) for LiveCycle 8.2, we are yet to get a valid license key from Adobe. We are expecting it any time. Probably this evaluation copy is causing all the problem!

                          Thanks a lot for trying..

                          - Badri.
                          • 11. Re: Email service
                            Aditya S. Level 1

                            All,

                             

                            I had the same issue and the "SMTP Aunthicate" checkbox was also checked. However, when I removed the username/password, saved, retried the stalled process it gave me the same error.

                             

                            It worked when I re entered the same username/password.

                             

                            Just thought I'd share my experience for all those have the same issue and it doesn't get resolved with the previous suggested workaround.

                             

                            Aditya