Jump to content

Help for Mail SPS-Record


ESB
 Share

Recommended Posts

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

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.

  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...