Email Config issue

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
hvemuri
TestLink user
Posts: 3
Joined: Tue Aug 24, 2010 2:30 pm

Email Config issue

Post by hvemuri »

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
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

Re: Email Config issue

Post by TurboPT »

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'.
hvemuri
TestLink user
Posts: 3
Joined: Tue Aug 24, 2010 2:30 pm

Re: Email Config issue

Post by hvemuri »

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.
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

Re: Email Config issue

Post by TurboPT »

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]

Code: Select all

    $body_first_lines = lang_get('testproject') . ': ' . $argsObj->tproject_name . '<br />' .
                        lang_get('testplan') . ': ' . $guiObj->testPlanName .'<br /><br />';
hvemuri
TestLink user
Posts: 3
Joined: Tue Aug 24, 2010 2:30 pm

Re: Email Config issue

Post by hvemuri »

Thank You!
Post Reply