Small behavior improvement

pull/162/head
M66B 5 years ago
parent bfd9fc60a4
commit 97410a6d4e

@ -6,11 +6,14 @@ At the bottom you can find how to ask other questions, request features and repo
## Authorizing accounts
For support on authorizing an account you should consult the documentation of your provider.
Searching for *IMAP* and the name of the provider is mostly sufficient to find the right documentation.
To setup an account (to receive email) and an identity (to send email)
you need the IMAP and SMTP server addresses and port numbers, whether STARTTLS should be used
In most cases the quick setup will be able to automatically identify the right configuration.
If the quick setup fails, you'll need to manually setup an account (to receive email) and an identity (to send email).
For this you'll need the IMAP and SMTP server addresses and port numbers, whether SSL/TLS or STARTTLS should be used
and your username (mostly, but not always, your email address) and your password.
Searching for *IMAP* and the name of the provider is mostly sufficient to find the right documentation.
In some cases you'll need to enable external access to your account and/or to use a special (app) password,
for instance when two factor authentication is enabled.

@ -48,7 +48,6 @@ import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
import androidx.constraintlayout.widget.Group;
import com.google.android.material.snackbar.Snackbar;
import com.google.android.material.textfield.TextInputLayout;
import com.sun.mail.imap.IMAPFolder;
@ -444,11 +443,10 @@ public class FragmentQuickSetup extends FragmentBase {
Log.i("Quick ex=" + Helper.formatThrowable(ex, false));
if (ex instanceof IllegalArgumentException || ex instanceof UnknownHostException)
Snackbar.make(view, ex.getMessage(), Snackbar.LENGTH_LONG).show();
else {
tvError.setText(ex.getMessage());
else
tvError.setText(Helper.formatThrowable(ex, false));
tvError.setVisibility(View.VISIBLE);
}
tvError.setVisibility(View.VISIBLE);
if (args.containsKey("link")) {
Uri uri = Uri.parse(args.getString("link"));

Loading…
Cancel
Save