email notification not working

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
ailicec
Posts: 5
Joined: 19 May 2005, 14:51

email notification not working

Post 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.
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post by thraxisp »

It looks like the DNS on the server can't resolve the SMTP server name.
ailicec
Posts: 5
Joined: 19 May 2005, 14:51

Post by ailicec »

I solved the problem:
my Linux server didn't have the Gateway setup, so I added it and now it is working.
Akydes

The same happens to me...

Post 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?
Post Reply