[Pro] SendForm on 1-2-3-reg

A customer has already set up a hosting account on 123 Reg.
I can’t get a FW web form to work on upload. I have tested it on a different server and it works fine.

Anyone got any experience of 123 Reg and perhaps knows what needs done or enabled server side etc.

Thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:

It wouldn’t make me wonder, when client booked a Hosting plan which doesn’t contain php and if a pretty old one. Double check this with her. Just a guess, btw.

Cheers

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:

I can’t get a FW web form to work on upload. I have tested it on a different server and it works fine.

What doesn’t work? You get an error, no email, no success page?

A link would also be useful.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Hi Dave
There are a few forms none of which work on 123 but do on 2 other accounts I have elsewhere.

3 forms on the site use send form action and I never have any probs with it in the past - must be something to do with 123 .

Contact form for starters is on www.metbergenviro.co.uk

Regards

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:

What doesn’t work? You get an error, no email, no success page?

I got the Success page so I guess you aren’t getting the emails? The form itself is fine.

Have you checked the junk/spam boxes.

It may also be that the ‘sender’ email has to be recognised by 123

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Thanks for taking a look Dave

The form has my email on it too so yes, not getting emails as I am doing on the other servers.

I have come across some odd things with 123 before so stay away.
I think I will give them a call and see what they say.

T


freewaytalk mailing list
email@hidden
Update your subscriptions at:

If you’ve set the "Use Item Sender Address” option, try setting that to none and setting the Sender Address to an address that belongs to the domain — form(a)metbergenviro.co.uk — for example.

Joe

On 3 Dec 2015, at 23:30, t50ufo email@hidden wrote:

Thanks for taking a look Dave

The form has my email on it too so yes, not getting emails as I am doing on the other servers.

I have come across some odd things with 123 before so stay away.
I think I will give them a call and see what they say.

T


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Thanks Joe

I will give that a go - also have had customer contact 123 - have transcript of chat - will post it if this attempt fails.

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:

No Joy

Set up a simple form here

http://www.metbergenviro.co.uk/contact/index.html

so it is on the 123 server

settings for send form action:

recipient address: my own email address
User Item: None
Use Item for Sender Name 1: Email
Sender address: email@hidden
Use item for Sender Address: None

Wouldn’t mind so much if contact form only
but there are 2 other forms on the site that send back information.

Thanks

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Two other forms using the Send Form Action on the same server are working?

On 4 Dec 2015, at 11:54, t50ufo email@hidden wrote:

No Joy

Set up a simple form here

http://www.metbergenviro.co.uk/contact/index.html

so it is on the 123 server

settings for send form action:

recipient address: my own email address
User Item: None
Use Item for Sender Name 1: Email
Sender address: email@hidden
Use item for Sender Address: None

Wouldn’t mind so much if contact form only
but there are 2 other forms on the site that send back information.

Thanks

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

No sorry - I have 3 forms on that site - none working on 123

But same forms I have tested are OK on 2 other servers I use.

T


freewaytalk mailing list
email@hidden
Update your subscriptions at:

According to their site it should be running an adequate version of PHP and they have a very simple script that’s essentially doing the same thing as ours, so it seems it should be possible.

I think you may need to contact their support and find out if there are any special requirements for contact forms on their servers. If the server is a Windows server then ask to be moved over to a Linux server.

Joe

On 4 Dec 2015, at 13:19, t50ufo email@hidden wrote:

No sorry - I have 3 forms on that site - none working on 123

But same forms I have tested are OK on 2 other servers I use.

T


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

OK Thanks - I will give it a try - but from past experience with 123 - I am not too confident

T


freewaytalk mailing list
email@hidden
Update your subscriptions at:

OK 123 have placed a test php file on the server and I can see it via ftp.
and say all is ok on their part.

I have tried to replace the TO address with my own email and access it via http://metbergenviro.co.uk/mailtest.php but I do not get the test email.

Anyone got any ideas? - transcript below:


Florin (06/12/2015 13:42:29):
An example of code for a contact form you can find in the file mailtest.php

Florin (06/12/2015 13:42:54):
You can simply replace the TO address with your own run allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml
Florin (06/12/2015 13:43:20):

A email will be sent from your hosting package to the email address you chose via the php mail function of your hosting package.

Jody K (06/12/2015 13:48:15):
My web developer is using a simple mailform on my site that will not work directly on your server. He can get it to work on other servers with no additions or modifications. Why is it not working on your server? Can you give me a few simple steps to how I can get this form to work on your server please?

Florin (06/12/2015 13:51:53):
Unfortunately, scripting related matters are outside our area of expertise and am afraid I cannot tell why your current script in not working. However, I can assure you that php contact forms are working on your hosting package. You can show your developer the mailtest.php file we uploaded on the package and he can change the to address and run allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml" target=“_blank”>allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml/allowhtml he will see that the email is being sent from your hosting package. There is noting wrong with the hosting package from our end. I just sent another test email via allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml" target=“_blank”>allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml/allowhtml successfully.

Jody K (06/12/2015 13:54:09):
OK I will show him this


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Could you please post the content of their testform.php file on Gist or Pastie, so we can see exactly what the code is? It is in the nature of PHP to not show the outside world the actual code when you visit the page directly – only the calculated response of the script is shown to a Web visitor.

Instructions to post to Gist:

  1. Open the file in a programmer’s text editor, like TextWrangler (free). You may need to download it via FTP first.
  2. Select all text in the file, and copy.
  3. Visit https://gist.github.com, and type testform.php into the filename field. Paste the entire code contents into the main editing field. Press Create Public Gist.
  4. Select the entire URL from your browser’s location field, and copy.
  5. Back here at FreewayTalk, paste the entire URL all by itself, on a separate line from the rest of your post. This will cause the code to be properly highlighted and shown inline for anyone visiting the thread in the Web forum view, and naturally those who subscribe by mail will see the URL and will be able to follow it from their mail application.

One of us code-friendly folk will no doubt be able to read through their code (which purports to work) and see what the major differences are between it and the Freeway-generated code. Are you using Send Form or PHP Feedback Form in your site? You may have mentioned it before, but I would like to see an answer to that inline with your response that shows the code.

Walter

On Dec 6, 2015, at 9:26 AM, t50ufo email@hidden wrote:

OK 123 have placed a test php file on the server and I can see it via ftp.
and say all is ok on their part.

I have tried to replace the TO address with my own email and access it via http://metbergenviro.co.uk/mailtest.php but I do not get the test email.

Anyone got any ideas? - transcript below:


Florin (06/12/2015 13:42:29):
An example of code for a contact form you can find in the file mailtest.php

Florin (06/12/2015 13:42:54):
You can simply replace the TO address with your own run allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml
Florin (06/12/2015 13:43:20):

A email will be sent from your hosting package to the email address you chose via the php mail function of your hosting package.

Jody K (06/12/2015 13:48:15):
My web developer is using a simple mailform on my site that will not work directly on your server. He can get it to work on other servers with no additions or modifications. Why is it not working on your server? Can you give me a few simple steps to how I can get this form to work on your server please?

Florin (06/12/2015 13:51:53):
Unfortunately, scripting related matters are outside our area of expertise and am afraid I cannot tell why your current script in not working. However, I can assure you that php contact forms are working on your hosting package. You can show your developer the mailtest.php file we uploaded on the package and he can change the to address and run allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml" target=“_blank”>allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml/allowhtml he will see that the email is being sent from your hosting package. There is noting wrong with the hosting package from our end. I just sent another test email via allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml" target=“_blank”>allowhtmlhttp://metbergenviro.co.uk/mailtest.php/allowhtml/allowhtml successfully.

Jody K (06/12/2015 13:54:09):
OK I will show him this


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Followed your instructions Walter - hope this is correct as the address above is now showing in the Preview for the message!

Form being used on my FW page is a SendForm

Trevor


freewaytalk mailing list
email@hidden
Update your subscriptions at:

There are two different ways that a Send Form can be configured – to use a single “from” address, or to use the person who fills in the form’s address as the sender. The latter is convenient, because it makes it easy to reply to the person directly. But if the mail server on your Web host is configured to only forward messages from its own domain, that can mean that your messages will not be sent, unless the address that is filled in on the form is within the same domain as the site. I believe you can configure Send Form to always send from a single address, and if you change it to use this address (or any other address within the same domain as the rest of the site) you may be able to use it to send mail from your Web server. If what I am guessing here is correct, you should be able to test this by entering that same email@hidden address as the “from” address in your form as it is currently configured, and then you should get that message.

Walter

On Dec 6, 2015, at 5:15 PM, t50ufo email@hidden wrote:

testform.php · GitHub

Followed your instructions Walter - hope this is correct as the address above is now showing in the Preview for the message!

Form being used on my FW page is a SendForm

Trevor


freewaytalk mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Think I may have made a massive error.

Appears the send form action IS working OK on 123 Reg.

It only seems to want to send to an email address acssociated with the domain.

Normally when I test forms, I also use my own email address to check the form is working - not the case with 123 Reg.

My client was out of the country for a few days so I did not disturb him during my tests. I got him to call with me today to test the forms with his laptop . Lo and behold all forms worked fine (sending to his email) so yes I have egg on my face.

I am sorry for wasting time - but have learned one new thing today.

Trevor


freewaytalk mailing list
email@hidden
Update your subscriptions at:

It only seems to want to send to an email address acssociated with the domain.

Not uncommon with hosting companies - they dont want a form to be hijacked and used as a Spam source.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options