| @@ 83-85 (lines=3) @@ | ||
| 80 | } |
|
| 81 | ||
| 82 | $field = 'email'; |
|
| 83 | if (!empty($this->config[ConfigurationConstants::DEFAULT_VARIABLES][ConfigurationConstants::EMAIL_FIELD_IDENTIFIER])) { |
|
| 84 | $field = $this->config[ConfigurationConstants::DEFAULT_VARIABLES][ConfigurationConstants::EMAIL_FIELD_IDENTIFIER]; |
|
| 85 | } |
|
| 86 | ||
| 87 | if (array_key_exists($field, $fields)) { |
|
| 88 | return [$fields[$field]->email]; |
|
| @@ 128-130 (lines=3) @@ | ||
| 125 | } |
|
| 126 | } |
|
| 127 | ||
| 128 | if (!empty($this->config[ConfigurationConstants::DEFAULT_VARIABLES][ConfigurationConstants::EMAIL_SUBJECT])) { |
|
| 129 | return $this->config[ConfigurationConstants::DEFAULT_VARIABLES][ConfigurationConstants::EMAIL_SUBJECT]; |
|
| 130 | } |
|
| 131 | ||
| 132 | $message = Constants::FIELD_AUTO_RESPONDER_SUBJECT . '|' . ConfigurationConstants::EMAIL_SUBJECT; |
|
| 133 | ||