FakeSMTP icon indicating copy to clipboard operation
FakeSMTP copied to clipboard

EML file format - first line

Open malins opened this issue 6 years ago • 2 comments

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: [email protected]
To: [email protected]
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

malins avatar Feb 12 '19 10:02 malins

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

jaoseguera avatar Mar 26 '19 15:03 jaoseguera

$ 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:[email protected]
250 Ok
RCPT TO:[email protected]
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
From: [email protected]
To: [email protected]
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: [email protected]
To: [email protected]
Subject: Test

TEXT

I'm using version 2.0.

malins avatar May 23 '19 11:05 malins