email_parse

Parses MIME email.

Target type

Signature

1email_parse(mime::string)

Parses MIME email.

email_parse constructs or identifies a LaiRu value type. email_parse performs network or protocol work. Make timeouts, encodings, and authentication settings visible in calling code so failures are easier to diagnose.

Parameters

mime
Required value of type string. Supply mime positionally unless the signature shows a keyword form.

Examples

Basic call

1email_parse(#raw_email)->subject
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.