I’m using a Formit form and it’s working fine except for one thing. In the &fiarFrom hook I specified a mail address with the domain name in it (i.e. website is domain.com, &fiarFrom is [email protected]).
One would except that ‘[email protected]’ is the From mail address in the confirmation mail that is sent to yourself (set in &emailTpl). Instead, the user’s filled in mailadres ([email protected]) is set as the From mail address.
This is causing the incoming mails to go to the quarantaine map (they switched to Office365, which has a pretty strict spam handling protocol).
Why does it not take that mail address set in the &fiarFrom hook?
Are you sure it’s the AutoResponder mail that is wrong (hook “FormItAutoResponder” → sent to customer) and not the “email” hook (the email usually sent to yourself)?
It seems to me that you are just missing the &emailFrom property for the “email” hook.
For this mail FormIt takes the value from the email field <input name="email" ... /> as the sender (if such a field exists). Which is rarely the desired behaviour.
It’s not the autoresponder mail: that is showing the [email protected] nicely. It’s the emailTpl hook (mail to self) that is showing the user’s mail adress instead of noreply@