mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
EventManager: add content type option for email config
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -2662,6 +2662,9 @@ func compareEventActionEmailConfigFields(expected, actual dataprovider.EventActi
|
||||
if expected.Subject != actual.Subject {
|
||||
return errors.New("email subject mismatch")
|
||||
}
|
||||
if expected.ContentType != actual.ContentType {
|
||||
return errors.New("email content type mismatch")
|
||||
}
|
||||
if expected.Body != actual.Body {
|
||||
return errors.New("email body mismatch")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user