fuel/fuel/packages/email/classes/email/driver/mandrill.php
public function set_metadata($key, $value = null, $rcpt = null)
	{
		is_array($key) or $key = array($key => $value);

		if (is_null($rcpt))
		{
			$this->metadata = \Arr::merge($this->metadata, $key);
		}
		else
		{
			$metadata = \Arr::get($this->rcpt_metadata, $rcpt, array());
			$this->rcpt_metadata[$rcpt] = \Arr::merge($metadata, $key);
		}

		return $this;
	}
public function set_metadata($key, $value = null, $rcpt = null)
	{
		is_array($key) or $key = array($key => $value);

		if (is_null($rcpt))
		{
			$this->metadata = \Arr::merge($this->metadata, $key);
		}
		else
		{
			$metadata = \Arr::get($this->rcpt_metadata, $rcpt, array());
			$this->rcpt_metadata[$rcpt] = \Arr::merge($metadata, $key);
		}

		return $this;
	}
public function set_metadata ( $ key , $ value = null , $ rcpt = null ) { is_array ( $ key ) or $ key = array ( $ key => $ value ) ; if ( is_null ( $ rcpt ) ) { $ this -> metadata = \ Arr :: merge ( $ this -> metadata , $ key ) ; } else { $ metadata = \ Arr :: get ( $ this -> rcpt_metadata , $ rcpt , array ( ) ) ; $ this -> rcpt_metadata [ $ rcpt ] = \ Arr :: merge ( $ metadata , $ key ) ; } return $ this ; }
Set one or several metadata

@param  mixed $key   Array for many, string for one
@param  mixed $value In case of many it is ommited
@param  mixed $rcpt  Null for global, string for recipient
@return object $this
Set one or several metadata