mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-02-15 02:57:07 +01:00
(refs #1337)Use the specified port number as the SSL port number as well
This commit is contained in:
@@ -109,6 +109,7 @@ class Mailer(private val smtp: Smtp) extends Notifier {
|
||||
}
|
||||
smtp.ssl.foreach { ssl =>
|
||||
email.setSSLOnConnect(ssl)
|
||||
email.setSslSmtpPort(smtp.port.get.toString)
|
||||
}
|
||||
smtp.fromAddress
|
||||
.map (_ -> smtp.fromName.getOrElse(context.loginAccount.get.userName))
|
||||
|
||||
Reference in New Issue
Block a user