Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureAuthConfig ¶
type AzureAuthConfig struct { Sender string Tenant string ClientId string Scope string Certificate []*x509.Certificate CertificateKey crypto.PrivateKey }
type AzureGraphProvider ¶
type AzureGraphProvider struct {
Config AzureAuthConfig
}
func New ¶
func New(config string) (p *AzureGraphProvider, err error)
type Message ¶
type Message struct { Subject string `json:"subject"` Body MessageBody `json:"body"` ToRecipients []MessageReceiver `json:"toRecipients"` }
type MessageBody ¶
type MessageReceiver ¶
type MessageReceiver struct {
EmailAddress Addr `json:"emailAddress"`
}
type MessageWrapper ¶
type MessageWrapper struct { Message Message `json:"message"` SaveToSentItems string `json:"saveToSentItems"` }
func BuildMessage ¶
func BuildMessage(subject string, body string, receivers ...string) (m MessageWrapper, err error)
Click to show internal directories.
Click to hide internal directories.