ESB Posted January 24, 2022 Share Posted January 24, 2022 Hallo, i am new here and search for help. My old Software Programmer for our Website is still not working any more ? Yesterday we got a message from our hoster Mittwald. We have SPF Record failures. Because the customer email is entered as the sender in the contact form. Where can I change that? Who can help me? Link to comment Share on other sites More sharing options...
netcarver Posted January 24, 2022 Share Posted January 24, 2022 Is your website built using ProcessWire? Link to comment Share on other sites More sharing options...
ESB Posted January 24, 2022 Author Share Posted January 24, 2022 Yes Link to comment Share on other sites More sharing options...
Jan Romero Posted January 24, 2022 Share Posted January 24, 2022 Do you have access to the PHP code? Try searching the directory /site/templates/ for “WireMail”. If you don’t find anything, search all of /site/ (but not /core/). You’re probably looking for something like this: $m = new WireMail(); $m->to($mailTo); $m->from($mailFrom); Change the $mailFrom bit to 'noreply@yoursite.com' or whatever. If you’re uncomfortable, post the code snippet and the file path, and we’ll be able to tell you if you’re breaking anything. If a module like FormBuilder is used, this may actually be configurable in the ProcessWire backend. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now