Mail Configuration

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
ma1985
TestLink user
Posts: 8
Joined: Mon Sep 01, 2014 6:12 pm

Mail Configuration

Post by ma1985 »

Hello , i Installed TestLink without defining mailer , Now i want to define mailer where can i do that as i only see error
Check following parameters of email feature:
tl_admin_email
from_email
return_path_email
smtp_host

and can't find a place to define the mailer
Regards
gianmaria
Advanced user
Posts: 54
Joined: Sat Dec 15, 2012 7:40 am
Location: Pavia, Italy
Contact:

Re: Mail Configuration

Post by gianmaria »

Hi,
you can find all the infos in the documentation, chapter 5.5 "Send E-MAIL".

Code: Select all

TestLink has integrated mailing support for sending reports and notification. 
You must set-up the next values:
SMTP server delivers a generated email. 
The value "localhost" is enough in the most cases.
$g_smtp_host = 'localhost';

Email address of administrator and sender are also mandatory parameters:
$g_tl_admin_email = 'your.name@your_company.com'; # for problem/error notification
$g_from_email = 'no_replay@testlink.test_team'; # email sender (showed to recipient)
$g_return_path_email = 'your.name@your_company.com';
Important: set-up SMTP host and email addresses are mandatory configuration.

Optionally you can set priority of email. The value “not urgent” is default.
# Urgent = 1, Not Urgent = 5, Disable = 0
$g_mail_priority = 5;

Your SMTP server should requires login to relay emails. The values remains empty in the most of cases. Configure authentication:
$g_smtp_username = '';
$g_smtp_password = '';
Cloud solutions, https://onemediahub.com/
ma1985
TestLink user
Posts: 8
Joined: Mon Sep 01, 2014 6:12 pm

Re: Mail Configuration

Post by ma1985 »

Hello , Where can i find the document or what is it's name
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Mail Configuration

Post by fman »

config.inc.php
but do configuration on custom_config.inc.php
ma1985
TestLink user
Posts: 8
Joined: Mon Sep 01, 2014 6:12 pm

Re: Mail Configuration

Post by ma1985 »

Hello , i configured the file and i receive the error SMTP Error: Could not authenticate. PROBLEMS SENDING MAIL TO:user@mail.com
Mailer Error: SMTP Error: Could not authenticate.
the application is installed on my PC and configured with my mail server
is there is any requirement for mailer like a service to be installed on my windows 7 pc to enable it to send mails
Post Reply