File/lib/mail.php

Description
Functions
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.

  • return: Returns true if mail was sent OK, or false otherwise
  • uses: $FULLME
  • uses: $CFG
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.

  • return: Returns true if mail was sent OK, or false otherwise
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

Documentation generated on Fri, 17 Jul 2009 11:01:49 +0100 by phpDocumentor 1.4.0