I've been having problems with configuring SMTP with a Google Apps account.
I read carefully everything in the http://www.mantisbt.org/forums/viewtopi ... =3&t=15398 "Please read this if you have problems with emails" topic.
I've tried all configurations, but mail fails to arrive.
In all cases, test_email.php yields:
Testing Mail - PROBLEMS SENDING MAIL TO: user@custom-gapps-domain.com. Please check your php/mail server settings.
My config:
Hosted Linux, PHP Version 5.2.6-1, SSL and TLS Stream Socket Transports available, Mantis 1.2.4
Code: Select all
# --- Email Configuration ---
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'ssl://smtp.gmail.com:465';
$g_smtp_connection_mode = 'ssl';
$g_smtp_username = 'user@custom-gapps-domain.com';
$g_smtp_password = 'password';
$g_administrator_email = 'user@custom-gapps-domain.com;
$g_webmaster_email = 'otheruser@custom-gapps-domain.com';
$g_from_name = 'FROM NAME';
$g_from_email = 'user@custom-gapps-domain.com';
$g_return_path_email = 'user@custom-gapps-domain.com';
$g_email_send_using_cronjob = OFF;
Code: Select all
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_port = 465;
$g_smtp_connection_mode = 'ssl';
Code: Select all
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_port = 587;
$g_smtp_connection_mode = 'tls';
I eventually also tried with a regular (personal) GMail account, same results..
I'm a bit desperate as I am under a 1 week countdown to the switchoff of the old SMTP hosted functionality.
I could also use a hand with enabling some sort of logging or even on-page flushing of what's happening under the hood...
As you may have already concluded, I do not have a solid experience with PHP, so please be patient.
I can provide any other required info, if able or assisted.
Thank you in advance.