mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-05-07 20:07:30 +02:00
(refs #1337)Fixup
This commit is contained in:
@@ -109,7 +109,9 @@ class Mailer(private val smtp: Smtp) extends Notifier {
|
||||
}
|
||||
smtp.ssl.foreach { ssl =>
|
||||
email.setSSLOnConnect(ssl)
|
||||
email.setSslSmtpPort(smtp.port.get.toString)
|
||||
if(ssl == true) {
|
||||
email.setSslSmtpPort(smtp.port.get.toString)
|
||||
}
|
||||
}
|
||||
smtp.fromAddress
|
||||
.map (_ -> smtp.fromName.getOrElse(context.loginAccount.get.userName))
|
||||
|
||||
Reference in New Issue
Block a user