I've got a contact form with all the usual suspects: name, email, enquiry.
When I send as an non-logged-in user, the 'from' address that appears in my email is the site AdminEmail I defined in my _config file...
Email::setAdminEmail('dev@breathecommunications.com');
But how/where do I write the code that will take the submitted email address, and use that as the from address?
I'm just using the standard ContactForm page type - do I need to extend that with my own pagetype and add some code in there, perhaps?