Email not being received
Email not being received
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?
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!
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
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
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:
Try adding this code to your settings.php file:
Code: Select all
ini_set("sendmail_from","you@yourmail.com");
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
Either that or your host has disabled sending mail from PHP.
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
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
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
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
Hi Klemen -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
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.
Try with some other script that sends mail from PHP and confirm it doesn't work?
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
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.
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.
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