[Pro] 2 PHP Feedback forms - 1 Page?

Thanks So Much Walter

You are a top guy

I will let you know how I progress

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No Joy

I tried 2 ways: I inserted a real email address for the “From” and
the email field is “sender_email” and you can see the email result is not showing in the email return. here:
http://www.professional-travel.co.uk/pt/win1.jpg

The other option using noreply as the From and the email name is “email” and the result shows. here:
http://www.professional-travel.co.uk/pt/win2.jpg

I am still seeing the tests but my client is not.
Very frustraring - is there anything server side I can ask to be changed?

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You can ask your client to check their spam folders and spam settings – particularly server-side, as these can be difficult to diagnose. Try sending the client message to a throw-away Gmail account or similar, see if it gets through to there. Also, set up temporary error pages for each of the error states that the Action provides – I see you are using the “single page for all errors” mode, which is fine for production but might mask subtle errors while testing. To be clear, your client gets through to the Success page in all cases?

Here’s a PHP script you might try from this server to debug the problem further. Name the following code “test123.php” (actually, name it anything BUT that, just keep the .php at the end) and visit it in a browser. It will allow you to send messages to and from a wide range of users, so you can narrow down what the issue is.

Be sure to only enter a valid e-mail address (just the name(a)server.dom part) in the to and from fields, as there is no error checking or input correction in the mail function itself.

Walter

On Apr 17, 2013, at 10:21 AM, t50ufo wrote:

No Joy

I tried 2 ways: I inserted a real email address for the “From” and
the email field is “sender_email” and you can see the email result is not showing in the email return. here:
http://www.professional-travel.co.uk/pt/win1.jpg

The other option using noreply as the From and the email name is “email” and the result shows. here:
http://www.professional-travel.co.uk/pt/win2.jpg

I am still seeing the tests but my client is not.
Very frustraring - is there anything server side I can ask to be changed?

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you already downloaded this, please grab it again. I just spotted a stupid mistake that would make it try to send a message once per variable – 4 times – with only the last one actually working. It probably wouldn’t even make it that far. I’ve updated the Gist so it’s correct now.

Walter

On Apr 17, 2013, at 10:47 AM, Walter Lee Davis wrote:

Here’s a PHP script you might try


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter.

I am really out of my depth now!

I will first ask my customer to contact the server provider to see if there is anything that can be done re spam settings or is there a specific question or direction I should be going for?

Thanks

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If one recipient can get the messages, and another cannot, the place to start is to figure out the differences between them.

For example, Microsoft Exchange (corporate mail server favored by many of my clients) will often refuse to believe – even when assured otherwise most strongly – that any other server could possibly be sending mail on its domain, and so will either drop or or flag as spam any message it receives from its own domain that it did not itself send.

That’s why I would start by getting the client a Gmail account, or iCloud mail, or any other cloud provider you want to try, and see if the client can get these form messages that way.

If the messages are being flagged as spam, it is often enough to add the sending address to a “whitelist” at their e-mail hosting provider so they will always be ignored.

There are much larger guns you can use (although they would require you to step away from this simple Action) like sending your messages through a third-party SMTP server. Reserve that level of desperation for when you have exhausted all your other options.

Upload that test script (revised version) to your server, and visit it in a browser. You will be able to generate plenty of test messages, and send them to different recipients with different “from” addresses. This will help you figure out what’s going wrong here. Be sure to delete this script from your server when you’re done working with it, as leaving it there to be discovered by script kiddies will be a Very Bad Thing for your spam reputation.

Walter

On Apr 17, 2013, at 11:44 AM, t50ufo wrote:

Thanks Walter.

I am really out of my depth now!

I will first ask my customer to contact the server provider to see if there is anything that can be done re spam settings or is there a specific question or direction I should be going for?

Thanks

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you so much for your continued help - I just wish I had got there and set this all up myself - client jumped in with their IT people promising them great things! As they needed email only at the time they went along - enter Trev - stage right!

I will test the gmail account one 1st and let you know how it works out.

Thanks again Walter.

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Update - OK Walter - I uploaded your php form script to my client’s server and the emails are being received by a gmail account - and it appears everything else except the client’s own email addresses (on their own server!).
As I am under a bit of pressure to get the site live and this feedback form is the only obstacle - caan yourself or anyone else recommend perhaps a 3rd party basic form handler that can bypass this sorry issue?

Thanks

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If the Gmail is being received, then the issue is in the client’s own mail server, not your Web server. That’s where the effort needs to be concentrated. Ask your client to identify the technical administrator of their e-mail, and start there. Use the test page in real time, while you have that administrator on the line and while she is watching the mail server log “live”. Send a message, and determine where and why it is being dropped. This is not hard to figure out when you have your eyes on the logs. Then change whatever configuration is causing the mail to not be delivered.

Walter

On Apr 19, 2013, at 4:00 AM, t50ufo wrote:

Update - OK Walter - I uploaded your php form script to my client’s server and the emails are being received by a gmail account - and it appears everything else except the client’s own email addresses (on their own server!).
As I am under a bit of pressure to get the site live and this feedback form is the only obstacle - caan yourself or anyone else recommend perhaps a 3rd party basic form handler that can bypass this sorry issue?

Thanks

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi again Walter

Just to update and put this one to rest. Due to the server side people not playing ball! I resorted to just setting up 2 gmail accounts for the 2 offices as the contact form is the only thing that is sent to it. Not ideal but that’s life. Many thanks for your considerable time spent on this one.

Kind regards

Trev


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options