jberkel / sms-backup-plus

Backup Android SMS, MMS and call log to Gmail / Gcal / IMAP
https://play.google.com/store/apps/details?id=com.zegoggles.smssync
Apache License 2.0
1.79k stars 497 forks source link

Support IMAP username separate from email address #1001

Open kurahaupo opened 4 years ago

kurahaupo commented 4 years ago

As a security measure, some services use a random token as the IMAP username, rather than the associated email address. Currently the IMAP username is also used as the user's own email address, as noted in #999.

I suggest that the form for entering IMAP details should have a field for email address, which is then used as the default for the IMAP username. For backwards compatibility, the IMAP username should continue to be used where no email address is provided.

kurahaupo commented 4 years ago

Starting from the email address, it should also be possible to suggest an IMAP server name, as s/.*@/imap./.

Not sure we'd want to go the whole hog with autodiscovery (probing DNS for various domainnames, then probing connections on various ports)