2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: from eml
|
|
|
|
layout: command
|
2022-03-04 13:10:09 +01:00
|
|
|
version: 0.59.1
|
2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
Parse text as .eml and create table.
|
|
|
|
|
|
|
|
## Signature
|
|
|
|
|
|
|
|
```> from eml --preview-body```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
- `--preview-body {int}`: How many bytes of the body to preview
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
Convert eml structured data into table
|
|
|
|
```shell
|
|
|
|
> 'From: test@email.com
|
|
|
|
Subject: Welcome
|
|
|
|
To: someone@somewhere.com
|
|
|
|
|
|
|
|
Test' | from eml
|
|
|
|
```
|
|
|
|
|
|
|
|
Convert eml structured data into table
|
|
|
|
```shell
|
|
|
|
> 'From: test@email.com
|
|
|
|
Subject: Welcome
|
|
|
|
To: someone@somewhere.com
|
|
|
|
|
|
|
|
Test' | from eml -b 1
|
|
|
|
```
|