from eml
for formats> from eml --preview-body
--preview-body {int}
: How many bytes of the body to previewinput | output |
---|---|
string | record |
Convert eml structured data into record
>'From: [email protected]
Subject: Welcome
To: [email protected]
Test'|from eml
╭─────────┬─────────────────────────────────────╮
│Subject│Welcome│
││╭─────────┬────────────────╮│
│From││Name│││
│││Address│[email protected]││
││╰─────────┴────────────────╯│
││╭─────────┬───────────────────────╮│
│To││Name│││
│││Address│[email protected]││
││╰─────────┴───────────────────────╯│
│Body│Test│
╰─────────┴─────────────────────────────────────╯
Convert eml structured data into record
>'From: [email protected]
Subject: Welcome
To: [email protected]
Test'|from eml-b1
╭─────────┬─────────────────────────────────────╮
│Subject│Welcome│
││╭─────────┬────────────────╮│
│From││Name│││
│││Address│[email protected]││
││╰─────────┴────────────────╯│
││╭─────────┬───────────────────────╮│
│To││Name│││
│││Address│[email protected]││
││╰─────────┴───────────────────────╯│
│Body│T│
╰─────────┴─────────────────────────────────────╯
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/from_eml.html