Page 1 of 1
Email not being received
Posted: Mon May 12, 2008 2:55 pm
by darrennye
Script URL:
www.manorbnb.com/guestbook/
Version of script: 1.6
Hosting company: godaddy
URL of phpinfo.php:
http://www.manorbnb.com/phpchk.php
URL of session_test.php:
http://www.manorbnb.com/ses-test.php
What terms did you try when SEARCHING for a solution: email
Write your message below:
I am not receiving any email notifications.
My settings.php include:
/* Send you an e-mail when a new entry is added? 1 = YES, 0 = NO */
$settings['notify']=1;
/* Your e-mail. Only required if $settings['notify'] is set to 1 */
$settings['admin_email']='
me@mypersonaldomain.com';
I have other scripts sending me emails without a problem (see
www.manorbnb.com/reservations/ - using
http://www.tectite.com
Thank you for your help!
Any suggestions?
Disregard!
Posted: Mon May 12, 2008 3:27 pm
by darrennye
I finally got the email - for some reason it took forever to be delivered.
But now I need to figure out how to change the "From" address to something more common. Currently it's
bellamyadmin@p3slh066.shr.phx3.secureserver.net
Posted: Mon May 12, 2008 3:38 pm
by Klemen
Mail took a while probably because your mailserver was busy, GBook doesn't have any influence of mail delivery.
Try adding this code to your settings.php file:
Code: Select all
ini_set("sendmail_from","you@yourmail.com");
Posted: Sat Oct 11, 2008 8:16 pm
by pete917
I have also just set my email notifier to on but as yet havent received the emails. I guess my host email server is busy too. Ill wait and see what happens and then report back.
Posted: Sun Oct 12, 2008 9:11 am
by Klemen
Either that or your host has disabled sending mail from PHP.
Posted: Sun Oct 12, 2008 10:26 am
by pete917
Klemen wrote:Either that or your host has disabled sending mail from PHP.
good point. ill check that out as emails have still not arrived.
Posted: Mon Oct 13, 2008 11:18 am
by pete917
My email doesnt seem to be working. I checked with my host who confirms php mail is enabled. They suggest using the switch -f. Unfortunately I do not know what that means. Could someone kindly explain that one for me and what I need to do to enable this?
Many thanks
Posted: Mon Oct 13, 2008 5:11 pm
by Klemen
The -f switch doesn't apply here, only applies if you have access to php.ini or if you are for example using Perl scripts...
It's possible your host allows sending mail to local domains only, try setting the e-mail recipient to
something@YOURDOMAIN.com and not @yourISP.com
Posted: Tue Oct 14, 2008 7:53 am
by pete917
Klemen wrote:The -f switch doesn't apply here, only applies if you have access to php.ini or if you are for example using Perl scripts...
It's possible your host allows sending mail to local domains only, try setting the e-mail recipient to
something@YOURDOMAIN.com and not @yourISP.com
Hi Klemen -
I tried that one. I even tried gmail. Unfortunately its just not working. Do you have any other thoughts on what I might try next.
Posted: Tue Oct 14, 2008 5:21 pm
by Klemen
Try with some other script that sends mail from PHP and confirm it doesn't work?
Posted: Tue Oct 14, 2008 6:12 pm
by pete917
Hi Klemen
I tried that and all works fine, so its something im doing wrong with this script.
Posted: Tue Oct 14, 2008 6:24 pm
by Klemen
If it 100% works then, since GBook is using the standard PHP mail function and nothing fancy, it must be one of two things:
1. double-check your setting for $settings['admin_email'] in settings.php file to see fi the mail is 100% correct
- OR -
2. you have a SPAM filter which is blocking GBook mail (confusing it with SPAM)? Check inside your spam/junk/bulk folder.