send([$auto_clear = TRUE])
Parameters: |
|
---|---|
Returns: |
TRUE on success, FALSE on failure |
Return type: |
bool |
The e-mail sending method. Returns boolean TRUE or FALSE based on success or failure, enabling it to be used conditionally:
if ( ! $this->email->send()) { // Generate error }
This method will automatically clear all parameters if the request was successful. To stop this behaviour pass FALSE:
if ($this->email->send(FALSE)) { // Parameters won't be cleared }
Note
In order to use the print_debugger()
method, you need to avoid clearing the email parameters.
Please login to continue.