I used EmailService in my process and I also tried to use default settings for sending email (by checking box labeled as Use Global Settings). But I got error below, and I could not find where I should enter the appropriate values as default email connection settings?
2010-10-18 14:11:19,822 WARN [com.adobe.workflow.AWS] com.adobe.idp.dsc.email.ConnectionFailedException: Failed to connect to email server: null. Reason: Could not connect to SMTP host: localhost, port: 25
at com.adobe.idp.dsc.email.EmailServiceImpl.sendMessage(EmailServiceImpl .java:473)
at com.adobe.idp.dsc.email.EmailServiceImpl.sendWithMapOfAttachments(Ema ilServiceImpl.java:433)
at com.adobe.idp.dsc.email.EmailServiceImpl.sendWithDocument(EmailServic eImpl.java:344)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
I achieved to run it properly by using gmail by applying connection settings manually (without clicking 'Use Global Settings' checkbox and entering each detail in Connection tab for EmailService component). But, what I want to know is configuring global outgoing email settings for all processes. At the end, it will make an email accont to be used for all process by default.
I tried to configure email server settings at adminui application, but I got the same error. Then, I added a default email endpoint and again I got the same error. So far, I need to configure each EmailService component's connection settings one by one, which is not common once considering business process development.
The Server Settings located in adminui are not the ones used for Global Settings on the Email service.
(The ones set in the adminui are used for notifications of Workspace Task Assignments.)
Here's where you need to set the Global Settings:
1) In Workbench, choose Window->Show View->Components.
2) Expand the components.You will see 2 components titled Email.
3) Choose the second one. Expand Active Services. You should see "EmailService:1.0."
4) Right click on the EmailService:1.0 and choose "Edit Service Configuration".
5) Add your values and then Stop/Start the service.
These values will be used in your Email Service if you select Use Global Settings.
Hope this helps.
I am really appreciated it. it works fine now.
I could not find the same explanation nowhere in Internet. If you give relevant URL then it may help others, who get stuck with the same.
Europe, Middle East and Africa