neomutt: Add SMTP port to smtp_url
This commit is contained in:
parent
7f7348b470
commit
8736190743
|
@ -111,7 +111,9 @@ let
|
|||
} else
|
||||
let
|
||||
smtpProto = if smtp.tls.enable then "smtps" else "smtp";
|
||||
smtpBaseUrl = "${smtpProto}://${escape userName}@${smtp.host}";
|
||||
smtpPort = if smtp.port != null then ":${smtp.port}" else "";
|
||||
smtpBaseUrl =
|
||||
"${smtpProto}://${escape userName}@${smtp.host}${smtpPort}";
|
||||
in {
|
||||
smtp_url = "'${smtpBaseUrl}'";
|
||||
smtp_pass = "'`${passCmd}`'";
|
||||
|
|
Loading…
Reference in a new issue