Requestors email in the queue template

I’m running RT 2.0.9. Is there a variable or flag that will give me the
requestors email address in the mail templates in RT? For instance, in
the default template there is the following:

{$Ticket->Subject()} -> which will give me the Subject of the ticket submitted.

I wanted to know if there was one for getting the requestors email
address. I tried {$Ticket->Requestor()}, but that didn’t work.

Please help.

Bolivar Geraldo (Junior)
NOC Analyst
Ph: 617-559-4031
Cell: 617-699-4315
E-mail: bgeraldo@sockeye.com
Pager: bgeraldo-pager@sockeye.com

Sockeye Networks, Inc.
275 Grove St., Suite 1-120
Newton, MA 02466-2272

You can find a number of these methods by reading the module
documentation for RT’s ticket object:

man RT::Ticket

tells you that the RequestorsAsString method gives you:

Returns String: All Ticket Requestor email addresses as a string.On Wed, Jan 02, 2002 at 06:20:07PM -0500, Bolivar Geraldo wrote:

I’m running RT 2.0.9. Is there a variable or flag that will give me the
requestors email address in the mail templates in RT? For instance, in
the default template there is the following:

{$Ticket->Subject()} -> which will give me the Subject of the ticket submitted.

I wanted to know if there was one for getting the requestors email
address. I tried {$Ticket->Requestor()}, but that didn’t work.

Please help.


Bolivar Geraldo (Junior)
NOC Analyst
Ph: 617-559-4031
Cell: 617-699-4315
E-mail: bgeraldo@sockeye.com
Pager: bgeraldo-pager@sockeye.com

Sockeye Networks, Inc.
275 Grove St., Suite 1-120
Newton, MA 02466-2272

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

“BG” == Bolivar Geraldo bgeraldo@sockeye.com writes:

BG> I’m running RT 2.0.9. Is there a variable or flag that will give me the
BG> requestors email address in the mail templates in RT? For instance, in
BG> the default template there is the following:

BG> {$Ticket->Subject()} -> which will give me the Subject of the ticket submitted.

You’re using the Ticket object, which is conveniently created by the
Ticket.pm module.

cd rt2/lib/RT
perldoc Ticket.pm

now find what method you need. No need to guess at an object’s
methods when there are docs!

Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/