Page 1 of 1

email notification not working

Posted: 19 May 2005, 14:57
by ailicec
Mantis version: 0.19.1
My config_inc.php:
g_phpMailer_method = 2;
$g_smtp_host = 'MySMTPServer';
$g_smtp_username = 'myusername@mydomain';
$g_smtp_password = 'mypassword';




I get this error:

SYSTEM WARNING: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution

Can anyone help me please?
Thank you
SYSTEM WARNING: fsockopen() [function.fsockopen]: unable to connect to <MySMTPServer>:25
PROBLEMS SENDING MAIL TO:
Mailer Error: SMTP Error: Could not connect to SMTP host.

Posted: 20 May 2005, 16:13
by thraxisp
It looks like the DNS on the server can't resolve the SMTP server name.

Posted: 24 May 2005, 07:54
by ailicec
I solved the problem:
my Linux server didn't have the Gateway setup, so I added it and now it is working.

The same happens to me...

Posted: 06 Jul 2005, 09:03
by Akydes
hi!
I have the same problem. But, the difference, is that I have not my own mail server (I use my particular mail account, and I've wrote in the file config_inc.php the smtp server associated to it).
The error:

Code: Select all

SYSTEM WARNING: fsockopen(): php_network_getaddresses: getaddrinfo failed: Host desconocido.

SYSTEM WARNING: fsockopen(): unable to connect to <mysmtpserver>s:25 (Unknown error)
what can I do?