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 ¶
func (m *Message) Send(ctx context.Context, user *graphusers.UserItemRequestBuilder) error
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
Click to show internal directories.
Click to hide internal directories.