Added usernames with fixed domain name

This commit is contained in:
M66B 2022-03-20 11:35:16 +01:00
parent bd9c74b8e2
commit d6e493c841
2 changed files with 8 additions and 4 deletions

View File

@ -325,9 +325,12 @@ public class FragmentQuickSetup extends FragmentBase {
List<String> users;
if (provider.user == EmailProvider.UserType.LOCAL)
users = Arrays.asList(username, email);
else if (provider.user == EmailProvider.UserType.VALUE)
users = Arrays.asList(provider.username, email, username);
else
else if (provider.user == EmailProvider.UserType.VALUE) {
String user = provider.username;
if (user.startsWith("*@"))
user = username + user.substring(1);
users = Arrays.asList(user, email, username);
} else
users = Arrays.asList(email, username);
Log.i("User type=" + provider.user +
" users=" + TextUtils.join(", ", users));

View File

@ -210,7 +210,8 @@
name="Posteo.de"
documentation="Please check if &lt;a href=&quot;https://posteo.de/en/help/activating-additional-email-account-protection&quot;&gt;additional email account protection&lt;/a&gt; isn't enabled."
domain="posteo\\..*"
link="https://posteo.de/en/help/how-do-i-set-up-posteo-in-an-email-client-pop3-imap-and-smtp">
link="https://posteo.de/en/help/how-do-i-set-up-posteo-in-an-email-client-pop3-imap-and-smtp"
user="*@posteo.net">
<imap
host="posteo.de"
port="993"