ptonev.com

Products and Projects => php Mail Notification => : Anonymous April 06, 2005, 04:11:40 PM



: Errors with php script
: Anonymous April 06, 2005, 04:11:40 PM
When I run phpMailNotification.php I get the following error, and nothing happens:
:

Content-type: text/html
X-Powered-By: PHP/4.3.11

127.0.0.1, 110<b>
, 110<b>
<br />
<b>Warning</b>:  fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in <b>/www/phpmail/phpMailNotification.php</b> on line <b>161</b><br />
<br />
<b>Warning</b>:  fsockopen(): unable to connect to :110 in <b>/www/phpmail/phpMailNotification.php</b> on line <b>161</b><br />
Can't check @ account.<b>

My config looks like this:
:

127.0.0.1;username;****;nospam@gmail.com;%new%/%total% @ %account%;%emails%;

And my MNOTIFY_CFG_PATH looks like
:

define("MNOTIFY_CFG_PATH",              "/www/phpmail/");


Any help would be much appreciated.


: Errors with php script
: ptonev April 06, 2005, 07:31:37 PM
Hi,

this is not script error.

You can try to set config like this:
:
localhost;username;****;nospam@gmail.com;%new%/%total% @ %account%;%emails%;

If you have IMAP support you can try phpIMAPMailNotification. It is better.

Best regards,


: Errors with php script
: Anonymous April 06, 2005, 07:45:08 PM
It makes no difference what I use as the hostname, localhost, 127.0.0.1, eddie (the actual hostname), the errors still occur.
However by using the fully qualified name, it does check the pop account and send an email, but the errors still occur.


: Errors with php script
: ptonev April 06, 2005, 08:33:39 PM
Hi, again.

I think that you have problem with PHP. You are sure that you have this lib installed with you PHP.

On my server all work fine.

best regards,


: Errors with php script
: Anonymous April 07, 2005, 01:00:44 AM
: "ptonev"

I think that you have problem with PHP. You are sure that you have this lib installed with you PHP.


Which "lib" do I need?


: Errors with php script
: ptonev April 07, 2005, 12:40:33 PM
Hi,

you are sure that on 127.0.0.1 you have POP3 (mail) server.

best regards,


Sorry, the copyright must be in the template.
Please notify this forum's administrator that this site is missing the copyright message for SMF so they can rectify the situation. Display of copyright is a legal requirement. For more information on this please visit the Simple Machines website.