src/Mail/Mail.php
public function removeHeader($key) {

		if(false === is_string($key)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string, "%s" given', __METHOD__, gettype($key)), E_USER_ERROR);
		}

		if(true === isset($this -> headers['custom'][$key])) {
			unset($this -> headers['custom'][$key]);
		}
	}
public function removeHeader($key) {

		if(false === is_string($key)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string, "%s" given', __METHOD__, gettype($key)), E_USER_ERROR);
		}

		if(true === isset($this -> headers['custom'][$key])) {
			unset($this -> headers['custom'][$key]);
		}
	}
public function removeHeader ( $ key ) { if ( false === is_string ( $ key ) ) { return trigger_error ( sprintf ( 'Argument 1 passed to %s() must be of the type string, "%s" given' , __METHOD__ , gettype ( $ key ) ) , E_USER_ERROR ) ; } if ( true === isset ( $ this -> headers [ 'custom' ] [ $ key ] ) ) { unset ( $ this -> headers [ 'custom' ] [ $ key ] ) ; } }
Removes a custom header by key
@param string $key
@return sFire\Mail\Mail
Removes a custom header by key