Question

5
Replies
189
Views
GokhanKuzu Member since 2012 9 posts
CapGemini
Posted: 3 years ago
Last activity: 3 years 5 months ago
Closed
Solved

Email Listener (Pega 7.1.7) MessagingException when obtaining subject

I configured Email listener on Pega than started it successfully. But after I send an email to inbox that I listen. It throws an exception below. But When I set log level for email listener to debug level it works correctly. Do you have any idea ?

Regards,

[4/6/17 16:46:36:021 EET] 000000bd SystemOut O 2017-04-06 16:46:36,020 [RPCWorkManager : 149] [ STANDARD] [ PegaRULES:07.10] (mail.EmailListener$MessageInfo) ERROR EMAIL.CommonFaxListener.Listener yourname - Caught MessagingException when obtaining subject. Message from youremailaddress

javax.mail.MessagingException: A8 BAD Command Argument Error. 11;

nested exception is:

com.sun.mail.iap.BadCommandException: A8 BAD Command Argument Error. 11

at com.sun.mail.imap.IMAPMessage.getHeader(IMAPMessage.java:737)

at com.pega.pegarules.integration.engine.internal.services.email.EmailListener$MessageInfo.processSubject(EmailListener.java:786)

at com.pega.pegarules.integration.engine.internal.services.email.EmailListener$MessageInfo.<init>(EmailListener.java:731)

at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.handleRequest(EmailListener.java:3143)

at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.emailProcess(EmailListener.java:2849)

at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.oneIteration(EmailListener.java:2301)

at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.run_(EmailListener.java:2206)

at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.run(ServiceListenerBaseImpl.java:448)

at com.pega.pegarules.session.internal.engineinterface.etier.impl.AsyncServant.processAsyncTask(AsyncServant.java:212)

at com.pega.pegarules.session.internal.engineinterface.etier.impl.AsyncServant.invoke(AsyncServant.java:166)

at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:315)

at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)

at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:225)

at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

at java.lang.reflect.Method.invoke(Method.java:611)

***Updated by moderator: Lochan to remove proprietary information; add SR Created group tag***

Data Integration SR Created
Moderation Team has archived post
Share this page LinkedIn