send_email()

send_email($recipient, $subject, $message)

Parameters:
  • $recipient (string) – E-mail address
  • $subject (string) – Mail subject
  • $message (string) – Message body
Returns:

TRUE if the mail was successfully sent, FALSE in case of an error

Return type:

bool

Sends an email using PHP’s native mail() function.

Note

All that this function does is to use PHP’s native mail

mail($recipient, $subject, $message);

For a more robust email solution, see CodeIgniter’s Email Library.

doc_CodeIgniter
2016-10-15 16:32:38
Comments
Leave a Comment

Please login to continue.