system/libraries/Email.php
/**
		* Spool mail to the mail server
		*
		* @return	bool
		*/
Spool mail to the mail server
@return       bool
Spool mail to the mail server @return bool
protected function _spool_email()
		{
			$this->_unwrap_specials();
			$method = '_send_with_'.$this->_get_protocol();
			if ( ! $this->$method())
			{
				$this->_set_error_message('lang:email_send_failure_'.($this->_get_protocol() === 'mail' ? 'phpmail' : $this->_get_protocol()));
				return FALSE;
			}
			$this->_set_error_message('lang:email_sent', $this->_get_protocol());
			return TRUE;
		}
protected function _spool_email ( ) { $ this -> _unwrap_specials ( ) ; $ method = '_send_with_' . $ this -> _get_protocol ( ) ; if ( ! $ this -> $ method ( ) ) { $ this -> _set_error_message ( 'lang:email_send_failure_' . ( $ this -> _get_protocol ( ) === 'mail' ? 'phpmail' : $ this -> _get_protocol ( ) ) ) ; return FALSE ; } $ this -> _set_error_message ( 'lang:email_sent' , $ this -> _get_protocol ( ) ) ; return TRUE ; }
Spool mail to the mail server
 @return       bool
Spool mail to the mail server @return bool