Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
+1
person also asked this
people also asked this
Replies
32 replies
Subscribers
8 subscribers
Views
47054 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Using Exchange Web Services for email
alanl
over 8 years ago
My exchange administrators are saying that I need Appian to use Exchange Web Services. How can I get Appian to talk using this protocol?
Thanks in advance. I did a search and I didn't see anything after 2015...
OriginalPostID-258508
Discussion posts and replies are publicly visible
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
AFAIK Appian is supporting only pop3, imap, or imaps protocols. Or you can create a plugin to integrate with the Exchange Web Services.
blogs.office.com/.../
github.com/.../ews-java-api
dzone.com/.../reading-emails-ms-exchange
www.programcreek.com/.../index.php
www.independentsoft.de/.../
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prasadk324
over 8 years ago
Thank you. Do you have a sample of Appian plug-in for this purpose that can be shared?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
Currently, I don't have plugin to achieve this functionality. I have started working on it and will share once it is completed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prasadk324
over 8 years ago
Yes, please share when you have it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
I have completed with the plugin development(EWS integration to send an email) and submitted to forum. I will share with you once I got approval from cloud!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sathya Srinivasan
Appian Employee
over 8 years ago
Why is there a restriction to contact the Exchange only via WS??? Using the standardized SMTP protocol is lot more secure and standard.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prasadk324
over 8 years ago
Hi Vinod,
Our usecase is to receive the emails. We are also trying to develop the plug-in but ran into the following exception. Please suggest. Appreciate your help!
com.appiancorp.suiteapi.process.exceptions.SmartServiceException: microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. com.appiancorp.common.xml.AppianXMLInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
at com.appiancorp.suiteapi.process.exceptions.SmartServiceException$Builder.build(SmartServiceException.java:145)
at com.freddiemac.plugins.email.EmailParser.run(EmailParser.java:171)
at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:113)
at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:110)
at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:25)
The following is the line in our code causing the above exception.
FindItemsResults<Item> findResults = service.findItems(folder.getId(), view);
We think it is classloader issue, but where and how to control the classloading for plug-in?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
Looks, the code is correct to find items. Can you check that you have using all necessary jars?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Vinod Bongoni
Certified Lead Developer
over 8 years ago
You can find all the required jars related to EWS at
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prasadk324
over 8 years ago
Yes, Vinod.. I think we have all required jars. If you have time to review code, I can post here. Please help!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>