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
returnfmt.Errorf("failed while setting your email details. Could not extract the smtp server and its port from the %s environment variable. Expected format: `smtp.server.com:port`, received: %s", SmtpServerEnv, smtpServerAndPort)
193
-
}
194
-
s.SmtpServer=splittedServerAndPort[0]
195
-
s.SmtpPort=splittedServerAndPort[1]
196
-
s.SmtpUser=getTrimmedEnv(SmtpUserEnv)
197
-
s.SmtpPassword=getTrimmedEnv(SmtpPasswordEnv)
198
-
ifs.SmtpUser=="" {
199
-
returnfmt.Errorf("failed while setting your email details. SMTP username is expected, but the %s environment variable is empty", SmtpUserEnv)
200
-
}
201
-
ifs.SmtpPassword=="" {
202
-
returnfmt.Errorf("failed while setting your email details. SMTP password is expected, but the %s environment variable is empty", SmtpPasswordEnv)
0 commit comments