new mailbox
This commit is contained in:
parent
5147625901
commit
ff5544d6a4
|
@ -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:"
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue