Customer Email Notification

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
barry694
Posts: 4
Joined: Thu Jul 24, 2014 7:13 am

Customer Email Notification

Post by barry694 »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

My GBook is installed in a frame and this works very well. i have made a number of changes ie colors etc to blend in with my website. There is only one problem is that customers do not receive an email notification when Admin reply to a posting. I do receive an email confirming a new entry. The TXT page listing the entries shows the email address incorrectly from @ ((at). I am to live with the problem but would be nice to get this feature working. Overall an excellent Guest Book
Last edited by barry694 on Mon Jul 28, 2014 4:03 pm, edited 1 time in total.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: Customer email Notification

Post by Henrie »

Maybe a stupid question, but just a first check, in settings.php you have set

Code: Select all

/* Notify visitor when you reply to his/her guestbook entry? 1 = YES, 0 = NO */
$settings['notify_visitor']=1;
The wrong @ (at) e-mail address is that of your visitor, or your admin e-mail address?
If the address of the visitor is displayed wrong, than it probably is also stored wrong and than it would be impossible to sent an e-mail to that address.
You say you have modified the looks of your guestbook, can you test if with the original files the visitor also does not receive a message when you reply?

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
barry694
Posts: 4
Joined: Thu Jul 24, 2014 7:13 am

Re: Customer Email Notification

Post by barry694 »

Hi Henrie

Thank you for your reply

Baz Romford baz123uk@hotmail.co.uk Test July 24, 2014 0 Test Reply 86.176.148.188

This the entry in my TXT file showing the visitors email address xxxxxxxxxxxxxxx. Settings.php is correctly setup for visitors to receive notification if Admin reply to their entry. All functions of the guestbook are working 100%, this is the only issue. I have checked all the settings and these appear correct. i am wondering if the frame is the reason although this should not be the problem. Over the weekend I will upload the guestbook unaltered to check for any malfunction. My website has no commercial interest and is for a hobby only

http://www.baztrad.com/guestbook/gbook.php

Regards
Barry
Last edited by barry694 on Mon Jul 28, 2014 4:04 pm, edited 2 times in total.
barry694
Posts: 4
Joined: Thu Jul 24, 2014 7:13 am

Re: Customer Email Notification

Post by barry694 »

Hi Henrie

I have uploaded the original files but the problem remains. The email is not being correctly stored in the txt file and this before or after Admin sends a reply. I believe this is the reason a customer notification to an entry is not being sent. CHMOD has been applied on some files as per the notes. Even this was changed ie 777 to 755 to test but still the same

I do receive an email confirming a new entry and all other guestbook options are working 100%

Regards
Barry
Last edited by barry694 on Mon Jul 28, 2014 4:04 pm, edited 1 time in total.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Customer email Notification

Post by Klemen »

The entry in the text file is correct - emails are stored with encoded "." and "@" chars as an attempt to fool basic spambots.

Before emails are being sent, the "." and "@" chars are decoded back, so that is not an issue.

Do you receive an email notification if you enter YOUR email address (@baztrad.com) as the customer and then reply to your test post as the guestbook owner?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
barry694
Posts: 4
Joined: Thu Jul 24, 2014 7:13 am

Re: Customer Email Notification

Post by barry694 »

PROBLEM FIXED

Problem: The emails used for testing was Hotmail etc. Whilst i was receiving an email confirming a new entry the visitor did not receive an email showing ADMIN had replied to their message

Problem Fixed: I discovered that when an email is SENT from a script on my server then the email address they provide has to be used not Hotmail etc. I simply inserted the Web Host email address in Guestbook SETTINGS. On my Web Host Server I then arranged a REDIRECT to Hotmail since this is where all emails are received ie Microsoft Outlook. This I am pleased to confirm all works .....

I receive at my Hotmail address confirmation that there is a new entry. If I reply then the visitor now receives an email from ADMIN confirming there is a reply to their entry

Sorry if I have explained this in unnecessary detail but some might find this useful
Post Reply