Sending mails problem

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
villano666
TestLink user
Posts: 3
Joined: Wed Dec 15, 2010 2:40 pm

Sending mails problem

Post by villano666 »

I'm always getting the same error, i've donde a forum search but non solution worked for me. Our company mail is hosted by gmail, we have another aplicattion using this smtp (port 25) with no probloems

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
villano666
TestLink user
Posts: 3
Joined: Wed Dec 15, 2010 2:40 pm

Re: Sending mails problem

Post by villano666 »

I forgott to say that @mail.com its just an example.
jack090
Advanced user
Posts: 39
Joined: Tue Dec 21, 2010 4:16 pm

Re: Sending mails problem

Post by jack090 »

villano666
TestLink user
Posts: 3
Joined: Wed Dec 15, 2010 2:40 pm

Re: Sending mails problem

Post by villano666 »

Yes, i also tried some changes on phpmailer but didnt succed
Post Reply