Results 1 to 6 of 6

Thread: .eml files, dates, and replies

  1. #1

    Default .eml files, dates, and replies

    New to EagleFiler. I like it - moving from Yojimbo which I never really used to its full potential.

    I've noticed that if I import .eml files into EF, the date for the library item is the date imported, not the date of the email. Is there anyway to have EF automatically get the right date from the headers of the .elm file?

    Also, I've noticed with some of my test emails, if I try to reply to them from within EF, not all of the body is quoted; some is just missing in the reply. Is this a known issue? Thanks.

  2. #2

    Default

    Quote Originally Posted by Tim Gray View Post
    I've noticed that if I import .eml files into EF, the date for the library item is the date imported, not the date of the email. Is there anyway to have EF automatically get the right date from the headers of the .elm file?
    Currently, EagleFiler sets the date from the headers when it creates the .eml file, but it preserves the date on an .eml file that you give it. What is the source of your .eml files?

    Quote Originally Posted by Tim Gray View Post
    Also, I've noticed with some of my test emails, if I try to reply to them from within EF, not all of the body is quoted; some is just missing in the reply. Is this a known issue?
    No. Please e-mail me one of the message files so I can investigate this.

  3. #3

    Default

    Quote Originally Posted by Michael Tsai View Post
    Currently, EagleFiler sets the date from the headers when it creates the .eml file, but it preserves the date on an .eml file that you give it. What is the source of your .eml files?
    Ahh, makes sense. The .eml files are from a python script of mine. I pipe a message in mutt to the python script and it saves the message to a file with a .eml extension, and then it calls EF to import the file.

    I realize I'm probably desecrating some standard here, but the .eml file format looked like just a text file with a standard set of email headers and the body. But it seems to be working in EF and I get Quick Look previews to boot.

    I'll look for a good example of the misquoting and mail it to you.

  4. #4

    Default

    Quote Originally Posted by Tim Gray View Post
    The .eml files are from a python script of mine. I pipe a message in mutt to the python script and it saves the message to a file with a .eml extension, and then it calls EF to import the file.
    It would be a bit of work, but you could probably use Python’s e-mail library to parse the date out of the message headers and set it as the modification date of the file.

    Quote Originally Posted by Tim Gray View Post
    I realize I'm probably desecrating some standard here, but the .eml file format looked like just a text file with a standard set of email headers and the body. But it seems to be working in EF and I get Quick Look previews to boot.
    No, that’s pretty much what the .eml format is: the RFC-2822 source.

  5. #5

    Default

    Quote Originally Posted by Michael Tsai View Post
    It would be a bit of work, but you could probably use Python’s e-mail library to parse the date out of the message headers and set it as the modification date of the file.
    I'm already using it to generate a suitable file name, so setting the mtime would be no problem. I was just curious to know if it was necessary.

    Thanks.

  6. #6

    Default

    Quote Originally Posted by Tim Gray View Post
    I've noticed that if I import .eml files into EF, the date for the library item is the date imported, not the date of the email. Is there anyway to have EF automatically get the right date from the headers of the .elm file?
    With EagleFiler 1.5, when importing a .eml file, EagleFiler now changes the file’s dates to match those of the contained e-mail message.

Similar Threads

  1. personal replies marked as spam
    By barefoot in forum SpamSieve
    Replies: 6
    Last Post: 12-21-2009, 04:26 PM
  2. Replies: 2
    Last Post: 12-08-2009, 02:57 PM
  3. .eml files/msgs Back into an Mbox file?
    By jsr in forum EagleFiler
    Replies: 5
    Last Post: 07-24-2009, 07:03 PM
  4. .emlx instead of .eml
    By ituser in forum EagleFiler
    Replies: 5
    Last Post: 07-24-2009, 12:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •