we are currently implementing TestLink 1.8 and would like to customize the body of the email content sent by the tool.
can anyone pls help us by informing which source file to modify for this purpose to be served.
thank you
Email Config issue
Moderators: Amaradana, TurboPT, TL Developers
Re: Email Config issue
This may not be a simple task, but look at file:
\lib\plan\tc_exec_assignment.php
See function 'send_mail_to_testers', which gathers a bunch of data and eventually passes that data to function 'email_send'.
\lib\plan\tc_exec_assignment.php
See function 'send_mail_to_testers', which gathers a bunch of data and eventually passes that data to function 'email_send'.
Re: Email Config issue
but there is no data shown in any of the source code....I mean the default email has some text in it. Where can I see that text? and modify it.
Re: Email Config issue
Then I'm not exactly sure what you need.
The 'data' is gathered from various objects that have been populated within the application.
There is an 'email' array where the mail's body, addresses [from/to], and subject details are assigned from those various objects.
Since you mentioned 'body' in the first post, start at this line: [near line 276]
The 'data' is gathered from various objects that have been populated within the application.
There is an 'email' array where the mail's body, addresses [from/to], and subject details are assigned from those various objects.
Since you mentioned 'body' in the first post, start at this line: [near line 276]
Code: Select all
$body_first_lines = lang_get('testproject') . ': ' . $argsObj->tproject_name . '<br />' .
lang_get('testplan') . ': ' . $guiObj->testPlanName .'<br /><br />';
Re: Email Config issue
Thank You!