package
0.0.0-20230101183712-202847b4b89b
Repository: https://github.com/corestoreio/csfw.git
Documentation: pkg.go.dev
# Functions
NewDaemon creates a new mail sending daemon to send to a SMTP server.
No description provided by the author
SetDialer sets a custom dialer, e.g.
SetMandrill sets the Mandrill API for sending emails.
SetMandrillRoundTripper sets a round tripper to the MandrillAPI mainly for testing.
SetMessageChannel sets your custom channel to listen to.
SetSendFunc lets you implements your email-sending function for e.g.
SetTLSConfig sets the TLS configuration for a default plain dialer used for TLS (when the STARTTLS extension is used) or SSL connections.
# Constants
Used for pubsub.
Scope: Default, Website, Store.
Scope: Default, Website, Store.
Scope: Default, Website, Store @todo.
Scope: Default, Website, Store.
Scope: Default, Website, Store.
Scope: Default; email address.
Scope: Default; 0 = no, 1 = yes, 2 = specified in PathSmtpReturnPathEmail.
Scope: Default, Website, Store.
# Variables
ErrMailChannelClosed will be returned when the channel is closed.
OfflineLogger represents a special email logger if mail sending has been deactivated for a scope ID.
OfflineSend defines a function which uses the OfflineLogger.Info function to log emails when SMTP has been disabled.
No description provided by the author
# Interfaces
Dialer mocked out *gomail.Dialer for testing.
# Type aliases
DaemonOption can be used as an argument in NewDaemon to configure a daemon.
MandrillOptions can be used as an argument to SetMandrill() function.
ManagerOption can be used as an argument in NewManager to configure a manager.