Email Config issue

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Email Config issue

Postby hvemuri » Wed Aug 25, 2010 3:13 pm

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

Re: Email Config issue

Postby TurboPT » Thu Aug 26, 2010 1:15 am

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

Re: Email Config issue

Postby hvemuri » Thu Aug 26, 2010 2:44 pm

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

Re: Email Config issue

Postby TurboPT » Fri Aug 27, 2010 1:22 am

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

Re: Email Config issue

Postby hvemuri » Fri Aug 27, 2010 2:06 pm

Thank You!
hvemuri
TestLink user
 
Posts: 3
Joined: Tue Aug 24, 2010 2:30 pm


Return to Installation and configuration



Who is online

Users browsing this forum: Google [Bot] and 4 guests

cron