If multiple addresses are present in the From field, this SHOULD be set.
According to RFC 2822 it is a requirement when there are multiple From
addresses, but Swift itself does not require it directly.
An associative array (with one element!) can be used to provide a display-
name: i.e. array('email@address' => 'Real Name').
If the second parameter is provided and the first is a string, then $name
is associated with the address.
/** * {@inheritdoc} */ public function sender(string $address, string $name = null) : MessageContract { $this->swift->setSender($address, $name); return $this; }