Add SendMail to plugin API (#10082)
* Add SendMail to plugin API * Update per feedback Co-Authored-By: cpanato <ctadeu@gmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
1a3ccaf305
Коммит
f8b87cbe2d
@@ -465,6 +465,11 @@ type API interface {
|
||||
// do not need to add that info.
|
||||
// keyValuePairs should be primitive go types or other values that can be encoded by encoding/gob
|
||||
LogWarn(msg string, keyValuePairs ...interface{})
|
||||
|
||||
// SendMail sends an email to a specific address
|
||||
//
|
||||
// Minimum server version: 5.7
|
||||
SendMail(to, subject, htmlBody string) *model.AppError
|
||||
}
|
||||
|
||||
var handshake = plugin.HandshakeConfig{
|
||||
|
||||
Ссылка в новой задаче
Block a user