rnwood / smtp4dev

smtp4dev - the fake smtp email server for development and testing
BSD 3-Clause "New" or "Revised" License
3.07k stars 344 forks source link

[Feature] Import messages from .eml file for inspection #555

Open skdutta-ga opened 3 years ago

metalrise commented 3 years ago

Yes, after you click on a message there is a Download button that saves the email in eml format

skdutta-ga commented 3 years ago

I was asking the opposite. I have an eml file, I would like to open it in smtp4dev to check out its headers etc.

rnwood commented 3 years ago

Hi. At the moment it's not possible to import from .eml file for inspection. The app can only view messages that have been received via SMTP.

You could workaround this by sending the .eml file you have over SMTP to smtp4dev (although the client may add/modify the headers):

cat file.eml | sendmail -t

(on Windows use https://github.com/sendmail-tls1-2/main to get sendmail)

Marking this as a feature request as may consider implementing in future.