You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: addons/smtp-mail.sh
+17-4Lines changed: 17 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -139,7 +139,15 @@ fi
139
139
# Enter your SMTP username
140
140
if [ -n"$NEEDS_CREDENTIALS" ] || yesno_box_yes "Does $MAIL_SERVER require any credentials, like username and password?"
141
141
then
142
-
MAIL_USERNAME=$(input_box_flow "Please enter the SMTP username to your email provider.\nE.g. [email protected], or just the actual 'username'.")
142
+
if [ "$choice"="mail.de" ]
143
+
then
144
+
# For mail.de, ask for email address first
145
+
MAIL_FROM=$(input_box_flow "Please enter your email address for mail.de.\nE.g. [email protected]")
146
+
# Then ask for username (which may differ from email)
147
+
MAIL_USERNAME=$(input_box_flow "Please enter your username for mail.de.\nThis is the username you use to log in (may differ from your email address).")
148
+
else
149
+
MAIL_USERNAME=$(input_box_flow "Please enter the SMTP username to your email provider.\nE.g. [email protected], or just the actual 'username'.")
150
+
fi
143
151
144
152
# Enter your mail user password
145
153
MAIL_PASSWORD=$(input_box_flow "Please enter the SMTP password to your email provider.")
0 commit comments