MX Record

Issues related to forms.
Post Reply
44MLB
 
 
Posts: 144
Joined: Sun May 27, 2018 11:55 am

MX Record

Post by 44MLB »

When I select the new "look up MX record" option, I get the following error message at the top of the page, even though I enter a valid e-mail address and the form doesn't send.

verify($_POST['g-recaptcha-response'], $_SERVER['REMOTE_ADDR']); if (!$response->isSuccess()) { die ("The reCAPTCHA code is incorrect. Please try again." . "(Error: " . $response->getErrorCodes() . ")"); } } ?>
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MX Record

Post by Pablo »

This is not an error. This is the PHP code. You will need to publish the page to a web server.

Related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=32967

Also, make sure you have the latest build of the software (11/03/2019)
44MLB
 
 
Posts: 144
Joined: Sun May 27, 2018 11:55 am

Re: MX Record

Post by 44MLB »

The page was published.

Here is an example.

Without MX Record
http://www.ramsgatelifeboat.org.uk/test/contact.php

With MX Record
http://www.ramsgatelifeboat.org.uk/test/contact-2.php
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MX Record

Post by Pablo »

I do not see the code at the top of the page.
44MLB
 
 
Posts: 144
Joined: Sun May 27, 2018 11:55 am

Re: MX Record

Post by 44MLB »

Did you try sending a message via the "Contact 2" form?
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MX Record

Post by Pablo »

The success or error page may not contain PHP code. So, these properties cannot be set to the same page.
44MLB
 
 
Posts: 144
Joined: Sun May 27, 2018 11:55 am

Re: MX Record

Post by 44MLB »

Sorry Pablo I don´t understand. The contact form works perfectly till I add the MX Record option. Then I get this error on the error message page even when I enter an e-mail address which it should except.
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MX Record

Post by Pablo »

This is not an error. It is the code of the form script.
The success or error page may not contain PHP, because the form script will display the page 'AS IS', so if it contains PHP code then the browser will also display the code.
The success and error page should be a different page.

See also the FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=32967

Also, make sure you have the latest build installed (11/3/2019)
http://wysiwygwebbuilder.com/download.html
44MLB
 
 
Posts: 144
Joined: Sun May 27, 2018 11:55 am

Re: MX Record

Post by 44MLB »

Hi Pablo,

If there is an error in what I have done, why does everything work as it should before I tick the MX Record option?

The success and error pages are different pages.
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MX Record

Post by Pablo »

The code at the top indicates that there either the success or error page has PHP code.
44MLB
 
 
Posts: 144
Joined: Sun May 27, 2018 11:55 am

Re: MX Record

Post by 44MLB »

Does the MX Record option create PHP code?
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MX Record

Post by Pablo »

yes
44MLB
 
 
Posts: 144
Joined: Sun May 27, 2018 11:55 am

Re: MX Record

Post by 44MLB »

Why does the same form work before I tick the MX Record Option?
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MX Record

Post by Pablo »

Because the mx record option generates different code.

Tips:
- do not use PHP in the success or error page. This means that these pages may not have a form or other element that use PHP. See the FAQ.
- make sure you have the latest build of the software (11/03/2019)
44MLB
 
 
Posts: 144
Joined: Sun May 27, 2018 11:55 am

Re: MX Record

Post by 44MLB »

Hi Pablo,

I can't send any messages with the MX Record on. Always get the "No email can be sent to the specified domain (?????@???.??) message.
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MX Record

Post by Pablo »

Where do you see this message?
I still see the code at the top of the page.

Did you install the latest build?
44MLB
 
 
Posts: 144
Joined: Sun May 27, 2018 11:55 am

Re: MX Record

Post by 44MLB »

Hi Pablo,

You can check my latest test version of my contact form at:
http://www.ramsgatelifeboat.org.uk/test/contact-4.php

I updated to 15.2 update when it came out. I guess it didn't have the MX Record before that anyway.
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MX Record

Post by Pablo »

I updated to 15.2 update when it came out. I guess it didn't have the MX Record before that anyway.
Yes, but do you have the latest build of November 3, 2019?
This is a hotfix which fixes several issues.
44MLB
 
 
Posts: 144
Joined: Sun May 27, 2018 11:55 am

Re: MX Record

Post by 44MLB »

I'll check the date when I get home. I didn't realize you have already done a fix on this issue or that there were changes outside the updates.
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MX Record

Post by Pablo »

When a user reports an issue then it is usually fixed within a few hours and a 'hotfix' is released immediately.
44MLB
 
 
Posts: 144
Joined: Sun May 27, 2018 11:55 am

Re: MX Record

Post by 44MLB »

OK I just didnt know there was a issue with this.
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: MX Record

Post by Pablo »

I idd ask you several times if you had the latest build (11/3/2019)
Post Reply