$sent = $this->email->send(); //This is optional - but good when you're in a testing environment. if(isset($sent)){ echo "It sent!"; }else{ echo "It did not send."; }