send-email
send-email function
The send-email action sends an email. It belongs to the email category within the external area.
Action Syntax
send-emailThis action takes no parameters and is used as a bare command.
Return Value
This function returns a RESPONSE value that can be stored in a variable:
$result = send-email Valid sizes
tiny
small
medium
large
extra
Examples
// Basic Usage
send-emailUsage Guide
Before using send-email, you must configure the email using these actions:
- Use
set-email-toto set the recipient - Use
set-email-fromto set the sender - Use
set-email-subjectto set the subject line - Use
set-email-bodyto set the email content - Optionally use
set-email-ccandset-email-bccfor additional recipients - Use
set-email-serviceto choose between services (defaults to rhappsody)
Example workflow:
set-email-from "[email protected]"
set-email-to $user-email
set-email-subject "Welcome to our app!"
set-email-body "Thanks for signing up. Click here to get started..."
$result = send-emailSee also: @set-email-to, @set-email-body
Action code: 4222008130
Version: 0.6.4-0
Last updated: 2025-06-12