sendmail

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	// contains filtered or unexported fields
}

func NewMessage

func NewMessage(from, to, subject string, opts ...MessageOption) *Message

func (*Message) Send

type MessageOption

type MessageOption func(*Message)

func WithAttachments

func WithAttachments(attachments []parsemail.Attachment) MessageOption

func WithBcc

func WithBcc(bcc string) MessageOption

func WithBody

func WithBody(body string) MessageOption

func WithCc

func WithCc(cc string) MessageOption

func WithHTMLContent

func WithHTMLContent() MessageOption

func WithSaveToSentItems

func WithSaveToSentItems(save bool) MessageOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL