diff --git a/FAQ.md b/FAQ.md index 5457363b80..744f487f69 100644 --- a/FAQ.md +++ b/FAQ.md @@ -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. diff --git a/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java b/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java index 04d40c5dc4..9dca020ad8 100644 --- a/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java +++ b/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java @@ -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"));