email_send
Sends email.
Target
Signature
1email_send(-subject, -from, ...)Sends email.
email_send is a global callable that can be used wherever an expression is valid. email_send performs network or protocol work. Make timeouts, encodings, and authentication settings visible in calling code so failures are easier to diagnose.
Parameters
-subject- Required value. Supply
-subjectby keyword, keeping the leading hyphen in the call. -from- Required value. Supply
-fromby keyword, keeping the leading hyphen in the call. ...- Additional values may be supplied after the earlier arguments.
Examples
Basic call
1email_send(-to='you@example.com', -from='me@example.com', -subject='Hello', -body='Hi')The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.