feat(04-03): select memory, log, and SMTP mail drivers from config
- Load mail.* and SUMMER_MAIL__ overrides to pick memory, log, or smtp - Log headers and text without credentials; SMTP uses explicit TLS and go-mail - Reject CR/LF headers and invalid addresses and surface driver errors once Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
9
examples/hello/config/mail.yaml
Normal file
9
examples/hello/config/mail.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
driver: memory
|
||||
from: Hello <hello@example.test>
|
||||
smtp:
|
||||
host: 127.0.0.1
|
||||
port: 1025
|
||||
username: ""
|
||||
password: ""
|
||||
tls: none
|
||||
timeout: 10s
|
||||
Reference in New Issue
Block a user