~ewintr/gte

ff5544d6a4f440a4e0a840f7c3ef735326aae6d4 — Erik Winter 2 months ago 5147625
new mailbox
2 files changed, 6 insertions(+), 6 deletions(-)

M internal/task/task.go
M pkg/mstore/imap.go
M internal/task/task.go => internal/task/task.go +5 -5
@@ 16,11 16,11 @@ var (
)

const (
	FOLDER_INBOX     = "INBOX"
	FOLDER_NEW       = "New"
	FOLDER_RECURRING = "Recurring"
	FOLDER_PLANNED   = "Planned"
	FOLDER_UNPLANNED = "Unplanned"
	FOLDER_INBOX     = "GTE/In"
	FOLDER_NEW       = "GTE/New"
	FOLDER_RECURRING = "GTE/Recurring"
	FOLDER_PLANNED   = "GTE/Planned"
	FOLDER_UNPLANNED = "GTE/Unplanned"

	QUOTE_PREFIX       = ">"
	PREVIOUS_SEPARATOR = "Previous version:"

M pkg/mstore/imap.go => pkg/mstore/imap.go +1 -1
@@ 236,7 236,7 @@ func (im *IMAP) Add(folder, subject, body string) error {
	defer im.Close()

	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),
		subject,
		body,