[rt-users] changing status/owner via email

Ruslan U. Zakirov Ruslan.Zakirov at acronis.com
Fri Jan 14 05:22:36 EST 2005


Yes. This works, but only if incoming email has special _header fields_.
In you previouse mail you said that you try to put info into subject. 
Subject is header field, yes, but this scrip requires 'RTC-Set-Status' 
field.

Elaine . wrote:
> hi
> I was asked for what I had put in the scrip (I gave
> the url to save clogging the list for those who could
> help, but what the hey, heres what i did )
> 
>  "set up ours so that it's controllable via headers:
> RTC-Set-Owner: whoever
> RTC-Set-Status: resolved
> 
> You use scrips to do it. Set one to "On Correspond"
> and then:
> 
> Action preparation:
> 
> 1;
> 
> Action cleanup:
> 
> my $header = 'RTC-Set-Owner';
> if
> ($self->TransactionObj->Attachments->First->GetHeader($header)
> ne '')
> {
> 
>        
> $self->TicketObj->SetOwner($self->TransactionObj->Attachments->First->GetHeader($header));
> }
> $header = 'RTC-Set-Status';
> if
> ($self->TransactionObj->Attachments->First->GetHeader($header)
> ne '')
> {
> 
>        
> $self->TicketObj->SetStatus($self->TransactionObj->Attachments->First->GetHeader($header));
> }
> 1;
> 
> "
> I'm using RT 3.2.2 and nothing happens when I do the
> above and from the log its not looking at my scrip
> that has this. Can anyone verify this works on 3.2.2
> or suggest another way to change owner/status via
> email ?
> Thanks
> Elaine
> 
> 
> 
> 	
> 	
> 		
> ___________________________________________________________ 
> ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT wiki at http://wiki.bestpractical.com




More information about the rt-users mailing list