Formit Autoresponder not working for some email addresses

I think it’s a bug.

The code should use the system setting emailsender, if the fiarFrom property is not set.
But because there is a default property set with the property fiarFrom set to an empty string, this doesn’t work.

So either the following line in the code has to be change

to

$mailFrom = $this->modx->getOption('fiarFrom', $this->formit->config, $this->modx->getOption('emailsender'), true);

or the empty values have to be deleted from the default property set.


You already had the same problem in January:

There is already an issue on Github, but unfortunately it hasn’t been fixed yet.