Page 1 of 1

Not getting email notification

Posted: Sat Sep 23, 2006 8:39 pm
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.

Posted: Sun Sep 24, 2006 1:16 am
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

Posted: Sun Sep 24, 2006 2:20 am
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!