Documentation ¶
Index ¶
- func TempScript(script string) (string, error)
- type Builder
- func (b *Builder) Build() *email.Message
- func (b *Builder) WithBody(body string) *Builder
- func (b *Builder) WithFrom(from string) *Builder
- func (b *Builder) WithHeader(key, value string) *Builder
- func (b *Builder) WithRawHeader(key, value string) *Builder
- func (b *Builder) WithReplyTo(replyTo string) *Builder
- func (b *Builder) WithSubject(subject string) *Builder
- func (b *Builder) WithTo(to string) *Builder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TempScript ¶
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewMessageBuilder ¶
func NewMessageBuilder() *Builder
func (*Builder) WithHeader ¶
func (*Builder) WithRawHeader ¶
func (*Builder) WithReplyTo ¶
func (*Builder) WithSubject ¶
Click to show internal directories.
Click to hide internal directories.