Here is the error and my config.inc.php
PROBLEMS SENDING MAIL TO: mail@mail.com
Mailer Error: The following From address failed: testlink@mail.com
Code: Select all
/* [SMTP] */
/**
* @var string SMTP server name or IP address ("localhost" should work in the most cases)
* Configure using custom_config.inc.php
* @uses lib/functions/email_api.php
*/
$g_smtp_host = 'smtp.gmail.com:25'; # SMTP server MUST BE configured
# Configure using custom_config.inc.php
$g_tl_admin_email = 'testlink@mail.com'; # for problem/error notification
$g_from_email = 'testlink@mail.com'; # email sender
$g_return_path_email = 'testlink@mail.com';
/**
* Email notification priority (low by default)
* Urgent = 1, Not Urgent = 5, Disable = 0
**/
$g_mail_priority = 5;
# Taken from mantis for phpmailer config
define ("SMTP_SEND",2);
$g_phpMailer_method = SMTP_SEND;
/** Configure only if SMTP server requires authentication */
$g_smtp_username = ''; # user
$g_smtp_password = ''; # password
Thanks in advance