mail-receiver icon indicating copy to clipboard operation
mail-receiver copied to clipboard

Password in imap url

Open iGaurav4 opened this issue 2 years ago • 1 comments

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"

iGaurav4 avatar Mar 30 '22 12:03 iGaurav4

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

huytmb avatar Jun 24 '22 09:06 huytmb