Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

EML file format - first line #76

Open
malins opened this issue Feb 12, 2019 · 2 comments
Open

EML file format - first line #76

malins opened this issue Feb 12, 2019 · 2 comments

Comments

@malins
Copy link

malins commented Feb 12, 2019

Hello,

my EML files on disk look a bit strange, the first line is a timestamp with some spaces in front.

        Tue, 12 Feb 2019 11:12:02 +0100 (CET)
From: test@test.com
To: recipient@test.com
Subject: Test

X

My mail program (Evolution) has problems at opening such files. Whats the purpose of this first line and is this a bug?

Thank you,
Manuel

@jaoseguera
Copy link

I'm not getting that first line. I don't think is a problem of FakeSMTP.

@malins
Copy link
Author

malins commented May 23, 2019

$ telnet localhost 2525
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 eris ESMTP SubEthaSMTP null
HELO test.com
250 eris
MAIL FROM:test@test.com
250 Ok
RCPT TO:bla@bla.com
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
From: test@test.com
To: bla@bla.com
Subject: Test

TEXT
.
250 Ok
QUIT
221 Bye
Connection closed by foreign host.

Then checking the eml file:

$ cat 230519015019807.eml 
        Thu, 23 May 2019 13:50:02 +0200 (CEST)
From: test@test.com
To: bla@bla.com
Subject: Test

TEXT

I'm using version 2.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants