I don't receive e-mail
-
- Posts: 4
- Joined: Thu Nov 12, 2009 4:26 pm
I don't receive e-mail
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:
I've parameterd gbook with my e-mail and an admin password, though I don't receive any e-mail and if I want to post another test comment I get
ERROR
You already have a message waiting approval!
When I delete .txt file in apptmp and I try again I get
Error
Could not lock the entries file. Please try again later
the url for my guestbook test is
http://rencontres.tarot.free.fr/paris/blog/guestbook/
Thx
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:
I've parameterd gbook with my e-mail and an admin password, though I don't receive any e-mail and if I want to post another test comment I get
ERROR
You already have a message waiting approval!
When I delete .txt file in apptmp and I try again I get
Error
Could not lock the entries file. Please try again later
the url for my guestbook test is
http://rencontres.tarot.free.fr/paris/blog/guestbook/
Thx
Jean-Claude ARON
It is probably a problem with your php on your server not being able to send mail to you because GBook uses the standard php mail function.
Do you have any other php scripts on your site that do send you mail?
If not, could you test with the email-test script http://www.phpjunkyard.com/extras/email_test.zip
unzip it, change the sender and recipient e-mail adresses in the file email_test.php and upload it to your server. Than open the file in your browser and see if it sends the mail to you.
Greetings,
Henrie
Do you have any other php scripts on your site that do send you mail?
If not, could you test with the email-test script http://www.phpjunkyard.com/extras/email_test.zip
unzip it, change the sender and recipient e-mail adresses in the file email_test.php and upload it to your server. Than open the file in your browser and see if it sends the mail to you.
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.
-
- Posts: 4
- Joined: Thu Nov 12, 2009 4:26 pm
Same here..!
email_test.php.. works fine.
but get no approval e-mail when a comment is added..!
will investigate it when i get a second

but get no approval e-mail when a comment is added..!

will investigate it when i get a second

Try deleting from settings.php file and see if you get any new error messages or warnings when you try to submit a message.
Code: Select all
ini_set('display_errors', 0);
ini_set('log_errors', 1);
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Sorted thanx.. ;-)

E-Mails coming through now..!
Changed settings.php
Code: Select all
/* ini_set('display_errors', 0);
ini_set('log_errors', 1); */
-
- Posts: 17
- Joined: Thu Sep 28, 2006 5:12 am
I don't receive any email
Hi
I am not getting any email notification nor the visitor getting any email after a comment is made in the guest book version 1,7
I have sent test email as above and got it alright.
I have deleted the code mentioned in the above posts also but to no use
Kindly help me
Thanks
I am not getting any email notification nor the visitor getting any email after a comment is made in the guest book version 1,7
I have sent test email as above and got it alright.
I have deleted the code mentioned in the above posts also but to no use
Kindly help me
Thanks
If the e-mail test worked but you aren't getting e-mails from GBook the only thing I can think of is that a SPAM filter is blocking the mail as there is no reason why it should work in one script but the same code wouldn't work in another.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Having the same problem with email not coming through.
In addition when I tried (4 times) to download the zipped email test script winzip is telling me it is an invalid archive type and can't open it.
(I tried removing those two snippets of code as mentioned above but that didn't seem to help so I put the code back in).
In addition when I tried (4 times) to download the zipped email test script winzip is telling me it is an invalid archive type and can't open it.
(I tried removing those two snippets of code as mentioned above but that didn't seem to help so I put the code back in).
Yes, this means sending mail from PHP is not working correctly on the server. It has either been disabled or not configured properly, this is something you host needs to look into.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Email still not being received from gbook
Sorry, but I've tried everything suggested in these posts to get a test email to come through for approval for a new post, and I'm still not receiving any emails. I tried the email test script and it worked fine.
Plus, even though I have the settings set for multiple entries per session, I can't run more than one test at a time.
I have a client waiting for his gbook and I'm running out of excuses.
I know I've done something stupid but I can't figure it out. Help.
http://www.rostratransmission.com/gbook/gbook.php
Plus, even though I have the settings set for multiple entries per session, I can't run more than one test at a time.
I have a client waiting for his gbook and I'm running out of excuses.
I know I've done something stupid but I can't figure it out. Help.
http://www.rostratransmission.com/gbook/gbook.php
hello lotuscott,
And did you execute the scripts from the same folder?
Plus, please post the following info as we would expect from a new poster with problems:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
downloads of phpinfo.php and session_test.php can be found in this thread viewtopic.php?t=83
Greetings,
Henrie
Maybe stupid question, but did you use the same e-mail address for the test and in $settings['admin_email']='me@rostratransmission.com'; ?lotuscott wrote:Sorry, but I've tried everything suggested in these posts to get a test email to come through for approval for a new post, and I'm still not receiving any emails. I tried the email test script and it worked fine.
And did you execute the scripts from the same folder?
I can't think of any reason why this would not work as expected. Please check again if you have $settings['one_per_session']=0; in your settings.php file.lotuscott wrote:Plus, even though I have the settings set for multiple entries per session, I can't run more than one test at a time.
Plus, please post the following info as we would expect from a new poster with problems:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
downloads of phpinfo.php and session_test.php can be found in this thread viewtopic.php?t=83
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.
Trying to work out email rsponse problem
Okay, I did check my settings on the multiple sessions and I misunderstood the code and had 1 checked instead of 0. So that's okay now.
Yep, the email addresses I used were both the same. The only difference was I uploaded the test file into the root directory and the gbook is in the gbook folder inside it. I can't figure out why that would make a difference, though.
The URL of the gbook is: http://www.rostratransmission.com/gbook/gbook.php.
The session test was done from: http://www.rostratransmission.com/email_test.php
I'm trying to get the official name of the host, since a friend of mine is hosting the site. It may be her server since I've used your gbook on another site and it works beautifully. Well worth buying you a drink.
Yep, the email addresses I used were both the same. The only difference was I uploaded the test file into the root directory and the gbook is in the gbook folder inside it. I can't figure out why that would make a difference, though.
The URL of the gbook is: http://www.rostratransmission.com/gbook/gbook.php.
The session test was done from: http://www.rostratransmission.com/email_test.php
I'm trying to get the official name of the host, since a friend of mine is hosting the site. It may be her server since I've used your gbook on another site and it works beautifully. Well worth buying you a drink.
lol, not my guestbook, but Klemen's.
And indeed, i do not know why sending e-mails inside the gbook folder would be blocked, but you could try using the email_test.php from inside the gbook folder anyway, just to be sure.
Only difference in e-mail_test and gbook mail is the make up of the mail line
email_test.phpand
gbook (line 953 in gbook.php version 1.7)
You could try changing in email_test.php to That way it will have the same mail headers as are used in the gbook.
If the mail is not received than from the email_test, it might be that php requires to add the From and maybe the Reply to the headers in gbook (line 953 in gbook.php version 1.7) .
Greetings,
Henrie
And indeed, i do not know why sending e-mails inside the gbook folder would be blocked, but you could try using the email_test.php from inside the gbook folder anyway, just to be sure.
Only difference in e-mail_test and gbook mail is the make up of the mail line
email_test.php
Code: Select all
mail($to,'Test message','E-mail test successfull',$headers);
gbook (line 953 in gbook.php version 1.7)
Code: Select all
mail($settings['admin_email'],$lang['t41'],$message,"Content-type: text/plain; charset=".$lang['enc']);
Code: Select all
mail($to,'Test message','E-mail test successfull','Content-type: text/plain; charset=windows-1250');
If the mail is not received than from the email_test, it might be that php requires to add the From and maybe the Reply to the headers in gbook (line 953 in gbook.php version 1.7) .
Code: Select all
mail($settings['admin_email'],$lang['t41'],$message,"From:sender@rostratransmission.com\nReply-to:sender@rostratransmission.com\nContent-type: text/plain; charset=".$lang['enc']);
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.