New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exceptions for the mail basic sample #133
Comments
What are you using for dependency management?
|
Hi, I am getting below exception,
Below are the dependencies which i am using,
Please help me to fix this issue. Thanks and Regards, |
Hello @vayalaivadivel ! Looks like your problem isn't related to the question and doesn't fit to the Share you configuration, please. Looks like there is something wrong with the From other side not sure why you need
|
Hi Artem Bilan, Thanks for your quick reply below is the configuration details, @Bean
public IntegrationFlow pop3MailFlow() {
return IntegrationFlows
.from(Mail.pop3InboundAdapter("pop3://user:pwd@outlook.office365.com/INBOX")
.javaMailProperties(p -> p.put("mail.debug", "true").put("mail.debug", "true")),
e -> e.autoStartup(true)
.poller(Pollers.fixedDelay(1000)))
.handle("MyHandler", "processEmail")
.channel("My Message Channel")
.get();
} Please help me to fix. It is some what so urgency. Thanks and Regards, |
OK. Thank you for that one! Let me know how does that work with my dependencies? From other side share, please, more StackTrace. |
You can still use your |
Ok Artembilan, I will check and let you know quickly |
According to your StackTrace, looks like your
But afterwards we end up with:
Funny, but no choice unless you will try to debug the Spring Integration code and beyond starting from the |
Artembilan, Bad luck. Still i am getting same issue |
Well, then you don't have choice unless go to the
I only see the problem with your Just have tested it locally and seen the same StackTrace. Why have you removed your one here? It is really useful to have the full picture. |
Sorry Unfortunately i have removed, Still i am getting same issue even though we removed the colon Same exception:
|
Now i am getting
FYI
|
??? Sorry, @vayalaivadivel , I can't help you anymore from this my side. You have to go through the debug from your IDE, since you mentioned that it is a "spock test". You should not to remove colon. That was just my assumption what may be wrong in your case. Otherwise I don't see any how to help you... (Please, study the GitHub comments syntax: https://help.github.com/articles/creating-and-highlighting-code-blocks/. It's thankless to edit each your post 😄 ) |
Ok no problem thank you so much... |
Now i have fixed. Along with all your info we have to ssl info in integration logic. |
Glad to hear! Would be better if you'd share the config on the matter just in case to cover everything around the issue. After your answer I will close the issue since we have fixed your and the lack of responsibility from another reporter. In the future, please, raise a new tickets because even here we see that you have a bit different issue. |
Closed with the discussion fix. |
Hi,
Any help would be appreciated.
I'm receiving exceptions with both the IMAP and POP implementations.
The POP3/IMAP access is enabled in my google account.
Here is the status as stated in gmail settings for IMAP:
Status: IMAP is enabled
.Here is the status as stated in gmail settings for POP3:
1. Status: POP is enabled for all mail that has arrived since...
.The IMAP fails with this exception:
And the POP fails with
javax.mail.NoSuchProviderException: pop3
, here is the stack trace:The text was updated successfully, but these errors were encountered: