New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date incorrect in Hotmail IMAP Append #715
Comments
Does hotmail accept an empty date? |
As an argument or as Date: header? |
Is it an issue for hotmail if the date value is NULL here?
|
Yes because that variable is used in libetpan as date argument. |
ok. Could you show the connection logger logs when you try to append a message to hotmail? |
2014-05-10 11:40:48.419 iOS UI Test[604:330f] event logged:0x9292650 1 withData: 6 APPEND TEST () {622} --536dc2e8_6b8b4567_25c SMTP Body Test 16807 SMTP Body Test 16807 2014-05-10 11:40:53.047 iOS UI Test[604:330f] event logged:0x9292650 0 withData: * 3 EXISTS |
So it works. Why would you need to customize the append date of the appended message? |
My application is for backing up old messages. So I need to have past dates.
As seen above, the append argument (in same line) has a date, Hotmail uses that date and not the date set in Date: header |
|
Ok, And how will I access this property in MCIMAPSestion::appendMessageWithCustomFlags? |
In Hotmail (imap-mail.outlook.com), the APPEND command uses OPTIONAL date/time string argument instead of Date: header, for setting message date.
This argument can never be set in the MailCore2 API because the date parameter is passed as NULL in
IMAPSession::appendMessageWithCustomFlags
Because of this what ever date is set in
[[builder header] setReceivedDate:date]; [[builder header] setDate:date];
in append command, Hotmail takes the current date/time.The text was updated successfully, but these errors were encountered: