function attach($file,$alias=NULL,$cid=NULL) {
		if (!is_file($file))
			user_error(sprintf(self::E_Attach,$file),E_USER_ERROR);
		if ($alias)
			$file=[$alias,$file];
		$this->attachments[]=['filename'=>$file,'cid'=>$cid];
	}
function attach($file,$alias=NULL,$cid=NULL) {
		if (!is_file($file))
			user_error(sprintf(self::E_Attach,$file),E_USER_ERROR);
		if ($alias)
			$file=[$alias,$file];
		$this->attachments[]=['filename'=>$file,'cid'=>$cid];
	}
function attach ( $ file , $ alias = NULL , $ cid = NULL ) { if ( ! is_file ( $ file ) ) user_error ( sprintf ( self :: E_Attach , $ file ) , E_USER_ERROR ) ; if ( $ alias ) $ file = [ $ alias , $ file ] ; $ this -> attachments [ ] = [ 'filename' => $ file , 'cid' => $ cid ] ; }
Add e-mail attachment
@return NULL
@param $file string
@param $alias string
@param $cid string
Add e - mail attachment