english/libraries/joomla/mail/mail.php
/**
	 * Send the mail
	 *
	 * @return  mixed  True if successful, a JError object otherwise
	 * @since   11.1
	 */
Send the mail
@return  mixed  True if successful, a JError object otherwise
@since   11.1
Send the mail @return mixed True if successful a JError object otherwise @since 11 . 1
public function Send()
	{
		if (($this->Mailer == 'mail') && ! function_exists('mail')) {
			return JError::raiseNotice(500, JText::_('JLIB_MAIL_FUNCTION_DISABLED'));
		}
		@$result = parent::Send();
		if ($result == false) {
			$result = JError::raiseNotice(500, JText::_($this->ErrorInfo));
		}
		return $result;
	}
public function Send ( ) { if ( ( $ this -> Mailer == 'mail' ) && ! function_exists ( 'mail' ) ) { return JError :: raiseNotice ( 500 , JText :: _ ( 'JLIB_MAIL_FUNCTION_DISABLED' ) ) ; } @ $ result = parent :: Send ( ) ; if ( $ result == false ) { $ result = JError :: raiseNotice ( 500 , JText :: _ ( $ this -> ErrorInfo ) ) ; } return $ result ; }
Send the mail
 @return  mixed  True if successful, a JError object otherwise
 @since   11.1
Send the mail @return mixed True if successful a JError object otherwise @since 11 . 1
// TODO: Set an appropriate error number