X
Tap here to go to the mobile version of the site.

Support Forum

How do I set date of arrival when importing from an eml file?

Posted

I'm importing eml files in to Thunderbird and date of arrival gets set to current time. I want it to be unix time 0 (older than everything).

How can I set the time/date of arrival in an eml file?

I'm importing eml files in to Thunderbird and date of arrival gets set to current time. I want it to be unix time 0 (older than everything). How can I set the time/date of arrival in an eml file?

Chosen solution

What are you specifying in the Date: header of your fake emails? That is the date Thunderbird uses by default. If your not setting it you need to.

Read this answer in context 1
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

More Information

Matt
  • Top 10 Contributor
  • Moderator
3390 solutions 23485 answers

what date of arrival? Thunderbird used the Date: header field to display date and that is not affected by the mail being in an EML file.

The order receive sort option will change drastically as that is based on the arrival of the email in the local store and is the numeric order of the mail in the store file, nothing to do with date at all.

what date of arrival? Thunderbird used the Date: header field to display date and that is not affected by the mail being in an EML file. The order receive sort option will change drastically as that is based on the arrival of the email in the local store and is the numeric order of the mail in the store file, nothing to do with date at all.
Was this helpful to you?
Quote

Question owner

Matt said

what date of arrival? Thunderbird used the Date: header field to display date and that is not affected by the mail being in an EML file. The order receive sort option will change drastically as that is based on the arrival of the email in the local store and is the numeric order of the mail in the store file, nothing to do with date at all.

I'm trying to import 'fake' emails, made by a script. Should I use an another format, that can be imported in to Thunderbird instead? ..or should I modify the date of arrival somewhere in Thunderbird?

''Matt [[#answer-1290366|said]]'' <blockquote> what date of arrival? Thunderbird used the Date: header field to display date and that is not affected by the mail being in an EML file. The order receive sort option will change drastically as that is based on the arrival of the email in the local store and is the numeric order of the mail in the store file, nothing to do with date at all. </blockquote> I'm trying to import 'fake' emails, made by a script. Should I use an another format, that can be imported in to Thunderbird instead? ..or should I modify the date of arrival somewhere in Thunderbird?
Was this helpful to you?
Quote
Matt
  • Top 10 Contributor
  • Moderator
3390 solutions 23485 answers

Chosen Solution

What are you specifying in the Date: header of your fake emails? That is the date Thunderbird uses by default. If your not setting it you need to.

What are you specifying in the Date: header of your fake emails? That is the date Thunderbird uses by default. If your not setting it you need to.
Was this helpful to you? 1
Quote

Question owner

Matt said

What are you specifying in the Date: header of your fake emails? That is the date Thunderbird uses by default. If your not setting it you need to.

Turns out, that for some reason, the oldest date possible is in 2006.

Since this mailbox isn't older, I chose 2010 as the 'oldest possible' in my use-case.

Though it is interesting, why you can't get before 2006. It might have something to do with Thunderbird 1.5 released by then.

Open-Sourcery! https://gitlab.com/snippets/1941789

''Matt [[#answer-1290616|said]]'' <blockquote> What are you specifying in the Date: header of your fake emails? That is the date Thunderbird uses by default. If your not setting it you need to. </blockquote> Turns out, that for some reason, the oldest date possible is in 2006. Since this mailbox isn't older, I chose 2010 as the 'oldest possible' in my use-case. Though it is interesting, why you can't get before 2006. It might have something to do with Thunderbird 1.5 released by then. Open-Sourcery! https://gitlab.com/snippets/1941789

Modified by Rasmus Kallas

Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.