frieky / imapcopy

Automatically exported from code.google.com/p/imapcopy
0 stars 0 forks source link

[0.3.1] Username's containing @ are not recognised #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When copying Google accounts:

sh ./imapCopy.sh imaps://user1@mydomains.com:password@imap.gmail.com:993 
imaps://user2@mydomains.com:password@imap.gmail.com:993

Produces:

2013-04-20 13:40:34,087  INFO ImapCopier - Starting
2013-04-20 13:40:34,089 DEBUG ImapCopier - Parameters length:2
2013-04-20 13:40:34,089 DEBUG ImapCopier - opening conections
2013-04-20 13:40:34,140 DEBUG ImapCopier - opening imaps conection to 
mydomain.com
Exception in thread "main" javax.mail.AuthenticationFailedException
    at javax.mail.Service.connect(Service.java:319)
    at javax.mail.Service.connect(Service.java:169)
    at javax.mail.Service.connect(Service.java:118)
    at com.fisbein.joan.model.ImapCopier.openConnection(ImapCopier.java:133)
    at com.fisbein.joan.model.ImapCopier.openSourceConnection(ImapCopier.java:70)
    at com.fisbein.joan.model.ImapCopier.main(ImapCopier.java:33)

Original issue reported on code.google.com by david.ne...@bigsoft.co.uk on 20 Apr 2013 at 1:40

GoogleCodeExporter commented 8 years ago
you have to use %40 instead of the @ inside the username - this is also done in 
the documentation

Original comment by manfred....@googlemail.com on 25 Jun 2013 at 8:19

GoogleCodeExporter commented 8 years ago
Yes, but the program could do convert the %40 for me. Or at least point out my 
blunder instead of giving me an misleading Authentication Exception.

Original comment by david.ne...@bigsoft.co.uk on 26 Jun 2013 at 1:45