new mailbox
This commit is contained in:
parent
5147625901
commit
ff5544d6a4
|
@ -16,11 +16,11 @@ var (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
FOLDER_INBOX = "INBOX"
|
FOLDER_INBOX = "GTE/In"
|
||||||
FOLDER_NEW = "New"
|
FOLDER_NEW = "GTE/New"
|
||||||
FOLDER_RECURRING = "Recurring"
|
FOLDER_RECURRING = "GTE/Recurring"
|
||||||
FOLDER_PLANNED = "Planned"
|
FOLDER_PLANNED = "GTE/Planned"
|
||||||
FOLDER_UNPLANNED = "Unplanned"
|
FOLDER_UNPLANNED = "GTE/Unplanned"
|
||||||
|
|
||||||
QUOTE_PREFIX = ">"
|
QUOTE_PREFIX = ">"
|
||||||
PREVIOUS_SEPARATOR = "Previous version:"
|
PREVIOUS_SEPARATOR = "Previous version:"
|
||||||
|
|
|
@ -236,7 +236,7 @@ func (im *IMAP) Add(folder, subject, body string) error {
|
||||||
defer im.Close()
|
defer im.Close()
|
||||||
|
|
||||||
msgStr := fmt.Sprintf("From: %s\r\nDate: %s\r\nSubject: %s\r\n\r\n%s\r\n",
|
msgStr := fmt.Sprintf("From: %s\r\nDate: %s\r\nSubject: %s\r\n\r\n%s\r\n",
|
||||||
"gte <gte@gettingthings.email>",
|
"gte <gte@ewintr.nl>",
|
||||||
time.Now().Format(time.RFC822Z),
|
time.Now().Format(time.RFC822Z),
|
||||||
subject,
|
subject,
|
||||||
body,
|
body,
|
||||||
|
|
Loading…
Reference in New Issue