mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-28 12:02:00 +08:00

* feat(emailing): initial commit for emailing * feat(emailing): implement emailing * test(integration): fix tests * fix(emailing): fix directory path * fix(emailing): fix email template path * fix(emailing): copy from go-gomail * fix(emailing): copy from go-gomail * fix(emailing): fix smtp bugs * test(integration): fix tests * feat(emailing): let missing templates passthrough * feat(emailing): let missing templates passthrough * feat(smtp): refactor and beautify * test(integration): fix tests * docs(smtp): fix incorrect grammer * feat(smtp): add to header * feat(smtp): remove comments * chore(smtp): address comments --------- Co-authored-by: Vikrant Gupta <vikrant@signoz.io>
11 lines
237 B
Go
11 lines
237 B
Go
package client
|
|
|
|
import "github.com/SigNoz/signoz/pkg/valuer"
|
|
|
|
var (
|
|
ContentTypeText = ContentType{valuer.NewString("text/plain")}
|
|
ContentTypeHTML = ContentType{valuer.NewString("text/html")}
|
|
)
|
|
|
|
type ContentType struct{ valuer.String }
|