Skip to content
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

Password in imap url #1

Open
iGaurav4 opened this issue Mar 30, 2022 · 1 comment
Open

Password in imap url #1

iGaurav4 opened this issue Mar 30, 2022 · 1 comment

Comments

@iGaurav4
Copy link

When user is having password with spl char like @ , it parse the character after @ as host.
For example,

imaps://[email protected]:soeme@[email protected]:993/Inbox

It will be parsed as

protocol : "imaps"
username: "[email protected]"
password : "soeme"
host: "[email protected]"

Expected :-
protocol : "imaps"
username: "[email protected]"
password : "soeme@123!!"
host: "outlook.office365.com"

@huytmb
Copy link
Owner

huytmb commented Jun 24, 2022

Sorry for late reply. You can manually parse URI before injecting to MailReceiver bean. Ref source code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants