Search found 8 matches

by AndySwiny
Fri Aug 04, 2023 9:22 am
Forum: Forms
Topic: Email form not working on new server
Replies: 22
Views: 31290

Re: Email form not working on new server

I now have my forms/emails working

Hi if you are having problems this is where to start and how to try and solve it

Start with three new pages
one page extension PHP
2 pages with HTML

Make sure you name each page correctly go to the advanced tab and set
jquery version 3.6.9 min.js
PHP version ...
by AndySwiny
Tue Aug 01, 2023 4:41 pm
Forum: Forms
Topic: Email form not working on new server
Replies: 22
Views: 31290

Re: Email form not working on new server

Thank you for all your replys.
It is nice to know someone else has experienced these problems. I think you are right it is PHP8 and above that causes the error with the successful page showing.

I will continue to investigate this and when I have found the solution I will come back and share. Thank ...
by AndySwiny
Tue Aug 01, 2023 12:14 pm
Forum: Forms
Topic: Email form not working on new server
Replies: 22
Views: 31290

Re: Email form not working on new server

The files that were uploaded to the website from the program or only version 5.5 PHP

Exception.php
PHPMailer Exception class.
* PHP Version 5.5.

SMTP.php
PHPMailer RFC821 SMTP email transport class.
* PHP Version 5.5.

PHPMailer.php
PHPMailer - PHP email creation and transport class.
* PHP ...
by AndySwiny
Tue Aug 01, 2023 7:45 am
Forum: Forms
Topic: Email form not working on new server
Replies: 22
Views: 31290

Re: Email form not working on new server

Update of extensive testing

On form set Accept charset to IOS-8859-1 Target to _top ( Do not set a successful page ) set Built-in PHP advanced tab Mail Engine tick the box mail engine SET to sendmail

I now received the mail

The problem now is that if you set a successful page it does not work ...
by AndySwiny
Mon Jul 31, 2023 9:34 pm
Forum: Forms
Topic: Email form not working on new server
Replies: 22
Views: 31290

Re: Email form not working on new server

Thank you i will try what he did i gat back to you
here is the PHP error log
[31-Jul-2023 21:18:50 UTC] mail() on (The * to hide info) [/home/******/********/davina-andrew-photography.co.uk/public_html/other/enquires.php:89]: To: davina@davina-andrew-photography.co.uk -- Headers: From ...
by AndySwiny
Mon Jul 31, 2023 8:30 pm
Forum: Forms
Topic: Email form not working on new server
Replies: 22
Views: 31290

Re: Email form not working on new server

hi yes read all
i was hoping some one on here was using Hostinger servers with built-in PHP and let me know what settings they were using, or did they have to do something on the server side.

Thanks Andrew
by AndySwiny
Mon Jul 31, 2023 4:57 pm
Forum: Forms
Topic: Email form not working on new server
Replies: 22
Views: 31290

Re: Email form not working on new server

Thank you for your responce I am aware it is probably something to do with the new server as it worked before.
I am using version 17 PHP version for page is set to PHP5 - PHP8 the server IONOS used PHP8, the new server uses the same PHP8
The problem is as stated before I have run a test on the ...
by AndySwiny
Mon Jul 31, 2023 1:42 pm
Forum: Forms
Topic: Email form not working on new server
Replies: 22
Views: 31290

Email form not working on new server

I was with IONOS I have now moved to Hostinger

Same site same forms if I do not use the built-in Php and send it to a second page use HTML to send the form all works okay
if I enable built-in Php I get confirmation page okay but no email is sent

Tests I did Hostinger have a test.php file to see if ...