mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
E-mail sender
This commit is contained in:
@@ -3,6 +3,7 @@ package iris
|
||||
import (
|
||||
"github.com/kataras/iris/config"
|
||||
"github.com/kataras/iris/logger"
|
||||
"github.com/kataras/iris/mail"
|
||||
"github.com/kataras/iris/render/rest"
|
||||
"github.com/kataras/iris/render/template"
|
||||
"github.com/kataras/iris/server"
|
||||
@@ -393,3 +394,8 @@ func Templates() *template.Template {
|
||||
func Websocket() websocket.Server {
|
||||
return DefaultIris.Websocket()
|
||||
}
|
||||
|
||||
// Mail returns the mail sender service
|
||||
func Mail() mail.Service {
|
||||
return DefaultIris.Mail()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user