[rt-users] Sending Email to CustomField value

Kenneth Crocker kfcrocker at lbl.gov
Fri Feb 11 11:52:23 EST 2011


Vikas,

We do that thru the Template. Below is an example of what we do to send an
email to a person selected to be the QA tester/Approver of work before it is
migrated/resolved:

RT-Attach-Message: yes
To: {$Ticket->FirstCustomFieldValue('QA Approver')}
Subject: Request Titled: "{$Ticket->Subject}" is ready to begin QA Testing

----------------------------------------------------------------------------
TICKET INFORMATION:
Queue  : {$Ticket->QueueObj->Name}
Number : {$Ticket->Id}
Subject: {$Ticket->Subject}
----------------------------------------------------------------------------
Priority is: {$Ticket->Priority}
Requestor  : {$Ticket->Requestors->UserMembersObj->First->Name}
Created  by: {$Ticket->CreatorObj->Name}
Created  on: {substr($Ticket->Created, 0, 10)}
Owned    by: {$Ticket->OwnerObj->Name}
Development Started on: {substr($Ticket->Started, 0, 10)}
----------------------------------------------------------------------------
To indicate your approval of the QA test results, merely
"Reply" (only) to this email with your comments:


                        Thank you,
                        {$Ticket->QueueObj->CorrespondAddress()}

We like to include a lot of Ticket data in our emails to the recipients. All
of out templates are custom.

Hope this helps.

Kenn
LBNL

On Fri, Feb 11, 2011 at 8:00 AM, Vikas Srivastava <
vikas.k.srivastava at gmail.com> wrote:

> Hi All ,
>
> Could you please help me in  creating a scrip that sends emails to email addresses noted in custom field values .
>
> So say in CF1 i have johndoe at abc.com
> And in CF2 i have mjames at abc.com .
>
> Upon case closure I would like to emails (different content) to be sent to the above to CFs .
>
> Any help would be much appreciated .
>
> Regards
>
> Vikas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110211/d8506e4c/attachment.htm>


More information about the rt-users mailing list