Not getting email notification

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
wapsieguy2
Posts: 2
Joined: Sat Sep 23, 2006 8:06 pm

Not getting email notification

Post by wapsieguy2 »

Script URL: http://www.alongthewapsie.com/guestbook/gbook.php
Version of script: 1.43
Hosting company: alongthewapsie.com (my own Windows machine)
URL of phpinfo.php:http://www.alongthewapsie.com/guestbook/phpinfo.php
URL of session_test.php:http://www.alongthewapsie.com/guestbook ... n_test.php
What terms did you try when SEARCHING for a solution: None

Write your message below:
I'm not getting the notification emails. I don't see any reference to an smtp server (which would be alongthewapsie.com) in the script.
I am also running sendmail on this server (IndigoMail)

Any ideas?

The place where I *really* want this guestbook to run is on oraniowa.com.
I will post another message about my problem there.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello wapsieguy2,

The Gbook script uses the php mail() function to send mail.
In the php.ini file of php the path to your smtp server is defined (according to your phpinfo is localhost at port 25).
The sendmail_path is also defined in php.ini (and according to your phpinfo is not set). This means that the sendmail function cannot be found and therefor will not be used.
Read more about configuring your php for using the mail() function here http://www.php.net/manual/en/ref.mail.php.

I took a look at your sendmail replacement software IndigoMail. In the manual i found the following
If you get a connect failed message it means that the MAILSERVER entry in you sendmail.ini configuration file is incorrect, or the mail server is not responding. You need to specify the host name of an SMTP mail server.
So my question is, have you setup an SMTP server in the sendmail.ini file?
And if so, why don't you setup this SMTP server in your php.ini file (or do you have one running yourself on your own server (localhost)).

I also took a look at http://oraniowa.com/. There sendmail is configured properly but you get a gzinflate() error.
This a problem with your PHP installation, ask your host to enable the gzinflate() function in PHP.

Greetings,
Henrie
wapsieguy2
Posts: 2
Joined: Sat Sep 23, 2006 8:06 pm

Post by wapsieguy2 »

The sendmail_path is also defined in php.ini (and according to your phpinfo is not set). This means that the sendmail function cannot be found and therefor will not be used.
Ah yes... it's a little different in windows. What worked was
; For Win32 only.
sendmail_from = webmaster@alongthewapsie.com
This isn't using my Indigo sendmail but my regular email server. Which is fine.
I also took a look at http://oraniowa.com/. There sendmail is configured properly but you get a gzinflate() error.
This a problem with your PHP installation, ask your host to enable the gzinflate() function in PHP.
Thanks for checking that one out. It saved me making another post. I had already Googled that one and have already sent an email to my IPS asking them to recompile it. I also asked them to install the GD library for PHP.
I'm going to see if I can install that on my Windows machine too!
Thanks for all your help!
Post Reply