I am trying to setup MANTIS to allow emails to be sent through SMTP using stmp.gmail.com. I haven't been succesful so far. :-( Although I am able to ping stmp.gmail.com on the machine where MANTIS is installed, it seems that it cannot be accessed by MANTIS. Can anyone help???
This is my configuration:
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'mantis';
$g_db_username = 'root';
$g_db_password = 'mysqlpassword';
$g_phpMailer_method = 2;
$g_validate_email = 'ON';
$g_smtp_host = 'stmp.gmail.com';
$g_smtp_username = 'myusername';
$g_smtp_password = 'mypassword';
?>
This is the error I get :
Testing Mail -
SYSTEM WARNING: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Hôte inconnu.
SYSTEM WARNING: fsockopen() [function.fsockopen]: unable to connect to stmp.google.com:25 (Unknown error)
PROBLEMS SENDING MAIL TO: administrator@example.com
Mailer Error: SMTP Error: Could not connect to SMTP host.
Thanks!
Sending emails with SMTP and Gmail
Moderators: Developer, Contributor