email_smtp

SMTP client object.

Target type

Signature

1email_smtp(...)

SMTP client object.

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

Parameters

...
Additional values may be supplied after the earlier arguments.

Examples

Basic call

1local(smtp) = email_smtp(-host='mail.example.com')
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.