mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 12:27:59 +00:00
fd00ac533a
* feat: add reply-to header to smtp messages * fix: grpc reply_to_address min 0 and js var name * fix: add missing translations * fix merge and linting --------- Co-authored-by: Livio Spring <livio.a@gmail.com>
20 lines
306 B
Go
20 lines
306 B
Go
package smtp
|
|
|
|
type Config struct {
|
|
SMTP SMTP
|
|
Tls bool
|
|
From string
|
|
FromName string
|
|
ReplyToAddress string
|
|
}
|
|
|
|
type SMTP struct {
|
|
Host string
|
|
User string
|
|
Password string
|
|
}
|
|
|
|
func (smtp *SMTP) HasAuth() bool {
|
|
return smtp.User != "" && smtp.Password != ""
|
|
}
|