MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / NotificationEmailFactory

Method NotificationEmailFactory

api/pkg/di/container.go:1098–1105  ·  view source on GitHub ↗

NotificationEmailFactory creates a new instance of emails.NotificationEmailFactory

()

Source from the content-addressed store, hash-verified

1096
1097// NotificationEmailFactory creates a new instance of emails.NotificationEmailFactory
1098func (container *Container) NotificationEmailFactory() (factory emails.NotificationEmailFactory) {
1099 container.logger.Debug("creating emails.UserEmailFactory")
1100 return emails.NewHermesNotificationEmailFactory(&emails.HermesGeneratorConfig{
1101 AppURL: os.Getenv("APP_URL"),
1102 AppName: os.Getenv("APP_NAME"),
1103 AppLogoURL: os.Getenv("APP_LOGO_URL"),
1104 })
1105}
1106
1107// MessageThreadService creates a new instance of services.MessageService
1108func (container *Container) MessageThreadService() (service *services.MessageThreadService) {

Callers 1

Calls 1

DebugMethod · 0.65

Tested by

no test coverage detected