Highlighted

Email service

Badri_Lakshmina

25-08-2008

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.

Replies

Highlighted

HowardTreisman

25-08-2008

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
Highlighted

Badri_Lakshmina

26-08-2008

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.
Highlighted

HowardTreisman

27-08-2008

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...
Highlighted

Avatar

Guest

27-08-2008

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!
Highlighted

Badri_Lakshmina

27-08-2008

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.
Highlighted

Avatar

Guest

27-08-2008

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
Highlighted

Avatar

Guest

27-08-2008

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
Highlighted

HowardTreisman

27-08-2008

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+User

Download here:

http://www.avoka.com/apps/checkcookie?qpac=y&qpac_code=avokaESComponents&location=%2Fapps%2Fqpacdown...



Howard

http://www.avoka.com