Re: [rt-users] How to grab requestor's first and last name in email address ?

2014-02-06 Thread Ethier, Michael
Hi, I tried your suggestion and it doesn't work, RT complains: [3270] [Thu Feb 6 12:50:36 2014] [error]: Scrip 25 IsApplicable failed: Can't locate object method First via package No object mapping for field (perhaps you forgot to load No object mapping for field?) at (eval 792) line 20.

Re: [rt-users] How to grab requestor's first and last name in email address ?

2014-02-06 Thread Kevin Falcone
On Thu, Feb 06, 2014 at 01:02:22PM +, Ethier, Michael wrote: When I try this code, it runs but it's not outputting what I need: my $trueuser = $TicketObj-Requestors-UserMembersObj-First-RealName; $RT::Logger-debug(trueuser is: .$trueuser); Resulting output looks to be

[rt-users] How to grab requestor's first and last name in email address ?

2014-02-05 Thread Ethier, Michael
Hello, I need to obtain the first and last name that would be part of the requestor's email address. For example, requestor email address comes in as: From: Smith, Joe jsm...@mail.commailto:jsm...@mail.com In this example I want parse out the Joe and Smith keywords and assign them to 2

Re: [rt-users] How to grab requestor's first and last name in email address ?

2014-02-05 Thread Landon Stewart
On 5 February 2014 11:16, Ethier, Michael meth...@cgr.harvard.edu wrote: Hello, I need to obtain the first and last name that would be part of the requestor's email address. For example, requestor email address comes in as: From: Smith, Joe jsm...@mail.com In this example I want