This is strange : I cannot find the file the string "Failed to connect to
mailserver" is set into! neither in mantis source dir nor in phpmailer
I've found a "Failed to connect to server" in class.smtp.php; line 108, but
it seems that it's not the error message you've got !
And... just a question : did you correctly set your $g_smtp_host to
'mailhost.my.domain.com' in your config_inc.php ??!! (which has the default
From: Kay.Schulz@... [mailto:Kay.Schulz@...]
Sent: lundi 5 juillet 2004 14:23
Subject: [Mantisbt-help] PHP, mantis und SMTP
I am using mantis 0.18.3
When I use admin(check.php
the emails are sent fine.
When I create a user and the system tried to send an email I get:
SYSTEM WARNING: mail(): Failed to connect to mailserver at
"localhost" port 25, verify your "SMTP" and
"smtp_port" setting in php.ini or use ini_set()
Where is this localhost coming from?
What's the difference between the check.php sendmail test and this one?
the email_api.php contains these lines
# set the SMTP host... only used on window though
ini_set( 'SMTP', config_get( 'smtp_host', 'mailhost.my.domain.com' ) );
it is the same as in php.ini:
I configured all and reboote, so php.ini and mantis should have been
So what is wrong here?
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit http://www.blackhat.com
Mantisbt-help mailing list