mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
parent
69077ce419
commit
b31f330c41
5 changed files with 1067 additions and 1065 deletions
|
@ -110,6 +110,7 @@ func (h *Handler) SetSMTP(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
|
||||
cfg := GetSMTPConfig(h.Store)
|
||||
h.Runtime.Log.Infof("%v", cfg)
|
||||
dialer, err := smtp.Connect(cfg)
|
||||
em := smtp.EmailMessage{}
|
||||
em.Subject = "Documize SMTP Test"
|
||||
|
|
|
@ -16,8 +16,9 @@ import (
|
|||
"database/sql"
|
||||
"fmt"
|
||||
|
||||
"github.com/documize/community/domain/store"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/documize/community/domain/store"
|
||||
)
|
||||
|
||||
// Store provides data access to user permission information.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue