sloodle_text_email (line
15)
Send an email to a specific address, using the Moodle system.
This function is heavily based on "email_to_user()" from Moodle's libraries.
bool
sloodle_text_email
(string $to, string $subject, string $messagetext)
-
string
$to: The address to send the email to
-
string
$subject: Plain text subject line of the email
-
string
$messagetext: Plain text of the message
sloodle_text_email_sl (line
97)
Send an email to an object in SL.
bool
sloodle_text_email_sl
(string $uuid, string $subject, string $messagetext)
-
string
$uuid: The UUID of the object to send the email to
-
string
$subject: Plain text subject line of the email
-
string
$messagetext: Plain text of the message