mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
refactor: Update SendNotification function to handle old and new settings triggers
This commit is contained in:
@@ -28,7 +28,7 @@ func SendMail(m *models.NotificationSettingMail, to, cc, title, content string)
|
||||
|
||||
// config
|
||||
port, _ := strconv.Atoi(m.Port)
|
||||
password := m.Password // test password: ALWVDPRHBEXOENXD
|
||||
password := m.Password
|
||||
SMTPUser := m.User
|
||||
smtpConfig := smtpAuthentication{
|
||||
Server: m.Server,
|
||||
|
||||
Reference in New Issue
Block a user