Documentation
¶
Overview ¶
26 august 2016
26 august 2016
Index ¶
- func BuildTextEmail(from string, to []string, subject string, body []byte) ([]byte, error)
- func Issue(ewsAddr string, username string, password string, body []byte) (*http.Response, error)
- type Body
- type CreateItem
- type DistinguishedFolderId
- type Mailbox
- type Message
- type Messages
- type OneMailbox
- type SavedItemFolderId
- type XMailbox
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildTextEmail ¶
Types ¶
type CreateItem ¶
type CreateItem struct {
XMLName struct{} `xml:"m:CreateItem"`
MessageDisposition string `xml:"MessageDisposition,attr"`
SavedItemFolderId SavedItemFolderId `xml:"m:SavedItemFolderId"`
Items Messages `xml:"m:Items"`
}
type DistinguishedFolderId ¶
type DistinguishedFolderId struct {
Id string `xml:"Id,attr"`
}
type Message ¶
type Message struct {
ItemClass string `xml:"t:ItemClass"`
Subject string `xml:"t:Subject"`
Body Body `xml:"t:Body"`
Sender OneMailbox `xml:"t:Sender"`
ToRecipients XMailbox `xml:"t:ToRecipients"`
}
type OneMailbox ¶
type OneMailbox struct {
Mailbox Mailbox `xml:"t:Mailbox"`
}
type SavedItemFolderId ¶
type SavedItemFolderId struct {
DistinguishedFolderId DistinguishedFolderId `xml:"t:DistinguishedFolderId"`
}
Click to show internal directories.
Click to hide internal directories.