Email parameters rejected by TestLink

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
StephenP
Advanced user
Posts: 16
Joined: Fri Jun 03, 2011 12:55 pm

Email parameters rejected by TestLink

Post by StephenP »

In TestLink 1.9.2 I get a message that there are security warnings.
In config_check.txt I see:
"Check following parameters of email feature:
tl_admin_email
from_email
return_path_email
smtp_host"

Based on the installation manual, I had specified all these values in custom_config.inc.php, along the lines given below (I have anonymised the e-mail addresses). But for some reason TestLink does not like them. Why might this be? What validation does TestLink do on these parameters?

$g_smtp_host = '192.168.0.200';
$g_tl_admin_email = 'redacted@example.com';
$g_from_email = 'testlink@example.com';
$g_return_path_email = 'redacted@example.com';
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Email parameters rejected by TestLink

Post by fman »

config options are retrieved and search for string "_not_configured" is done on it's value
StephenP
Advanced user
Posts: 16
Joined: Fri Jun 03, 2011 12:55 pm

Re: Email parameters rejected by TestLink

Post by StephenP »

So why would TestLink be giving me that message then? I'm using an editor with colour-coding, so I'm quite sure I haven't accidentally commented those lines out.
StephenP
Advanced user
Posts: 16
Joined: Fri Jun 03, 2011 12:55 pm

Re: Email parameters rejected by TestLink

Post by StephenP »

Well, I've fixed the problem, even if I'm not sure what exactly it was. For some reason the config_check.txt file was not being updated. I deleted it and it was recreated without this error message. (Now I just have sort out why TestLink can't find the GD library.)
Post Reply