diff --git a/src/Forms/Email.php b/src/Forms/Email.php index ad44607e54..30722022c5 100644 --- a/src/Forms/Email.php +++ b/src/Forms/Email.php @@ -234,7 +234,11 @@ protected function parseConfig(array $config) return collect($config)->map(function ($value) { $value = Parse::env($value); // deprecated - return (string) Antlers::parse($value, array_merge($this->getGlobalsData(), $this->submissionData)); + return (string) Antlers::parse($value, array_merge( + ['config' => config()->all()], + $this->getGlobalsData(), + $this->submissionData, + )); }); } }