Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
/**S
* The message class as defined in the .msg file.
*/
MessageClass string
/**
* The message Id.
*/
MessageID string
/**
* The address part of From: mail address.
*/
FromEmail string
/**
* The name part of the From: mail address
*/
FromName string
/**
* The address part of To: mail address.
*/
ToEmail string
/**
* The name part of the To: mail address
*/
ToName string
/**
* The address part of Reply-To header
*/
ReplyToEmail string
/**
* The name part of Reply-To header
*/
ReplyToName string
/**
* The S/MIME part of the S/MIME header
*/
//OutlookSmime smime;
/**
* The mail's subject.
*/
Subject string
/**
* The normalized body text.
*/
BodyText string
/**
* The displayed To: field
*/
DisplayTo string
/**
* The displayed Cc: field
*/
DisplayCc string
/**
* The displayed Bcc: field
*/
DisplayBcc string
/**
* The body in RTF format (if available)
*/
BodyRTF string
/**
* The body in HTML format (if available)
*/
BodyHTML string
/**
* The body in HTML format (converted from RTF)
*/
ConvertedBodyHTML string
/**
* Email headers (if available)
*/
Headers string
/**
* Email Date
*/
Date time.Time
/**
* Client Submit Time
*/
ClientSubmitTime time.Time
CreationDate time.Time
LastModificationDate time.Time
Properties map[int64]string
}
Message is a struct that holds a structered result of parsing the entry
func (*Message) ParseHeaders ¶
ParseHeaders returns a map of key value of headers
func (*Message) SetProperties ¶
func (res *Message) SetProperties(msgProps MessageProperty)
SetProperties sets the message properties
type MessageProperty ¶
MessageProperty holds the type of data and the data
type OutlookMessageInformation ¶
OutlookMessageInformation is the field information of a property
Click to show internal directories.
Click to hide internal directories.