| @@ 201-208 (lines=8) @@ | ||
| 198 | * |
|
| 199 | * @return mixed |
|
| 200 | */ |
|
| 201 | public function setFromAddress($address, $variables = null) |
|
| 202 | { |
|
| 203 | $variables = is_array($variables) ? $variables : []; |
|
| 204 | ||
| 205 | $this->addRecipient('from', $address, $variables); |
|
| 206 | ||
| 207 | return $this->message['from']; |
|
| 208 | } |
|
| 209 | ||
| 210 | /** |
|
| 211 | * @param string $address |
|
| @@ 216-223 (lines=8) @@ | ||
| 213 | * |
|
| 214 | * @return mixed |
|
| 215 | */ |
|
| 216 | public function setReplyToAddress($address, $variables = null) |
|
| 217 | { |
|
| 218 | $variables = is_array($variables) ? $variables : []; |
|
| 219 | ||
| 220 | $this->addRecipient('h:reply-to', $address, $variables); |
|
| 221 | ||
| 222 | return $this->message['h:reply-to']; |
|
| 223 | } |
|
| 224 | ||
| 225 | /** |
|
| 226 | * @param string $subject |
|