send-email
function
The send-email
action sends an email. It belongs to the email category within the external area.
Action Syntax
send-email
This 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-email
Usage Guide
Before using send-email, you must configure the email using these actions:
- Use
set-email-to
to set the recipient - Use
set-email-from
to set the sender - Use
set-email-subject
to set the subject line - Use
set-email-body
to set the email content - Optionally use
set-email-cc
andset-email-bcc
for additional recipients - Use
set-email-service
to 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-email
See also: @set-email-to, @set-email-body
Action code: 4222008130
Version: 0.6.4-0
Last updated: 2025-06-13