We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c654918 commit b72cd54Copy full SHA for b72cd54
helper.php
@@ -215,10 +215,15 @@ public static function submitForm($ajax = false) {
215
}
216
217
// Reply-To
218
- $reply_to = !empty($params->get('reply_to', '')) ? $params->get('reply_to') : '';
219
- $reply_to = explode(',', $reply_to);
220
- if (!empty($reply_to)) {
+ if (!empty($params->get('reply_to', ''))) {
+ $reply_to = $params->get('reply_to', '');
+ $reply_to = self::renderVariables($contents, $reply_to);
221
+ if (!filter_var($reply_to, FILTER_VALIDATE_EMAIL)) {
222
+ $reply_to = '';
223
+ }
224
$mailer->addReplyTo($reply_to);
225
+ } else {
226
227
228
229
// CC
0 commit comments