CommandbyMail rt 3.8.5

Hi,

I have installed CommandByMail plugin, and added these lines do
RT_SiteConfig.pm:

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));

But I getting this error:
[error]: Couldn’t load RT::Interface::email::Filter::TakeAction: Can’t
locate RT/Interface/Email/Filter/TakeAction.pm in @INC (@INC contains:
/opt/rt3/bin/…/local/lib /opt/rt3/local/plugins/RT-Extension-MergeUsers/lib
/opt/rt3/bin/…/lib /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
/etc/apache2) at /opt/rt3/bin/…/lib/RT/Interface/Email.pm line 1104.

If I copy
/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
to /opt/rt3/lib/RT/Interface/Email/Filter/TakeAction.pm , no error appear,
and I can use Stats: resolved command for example. But I cant get
CustomFields to work.

For example, I have a CF called Problem time.
So here is my message:
CF.{CProblem Time}: 12 40

My messagee…

But nothing happens to my Custom Field.
Any ideas? Do I really have to copy the file, or there is something else
that I have to do?

Thanks in advance.

Sergio Roberto Charpinel Jr.

Seems like I cant use space in custom field name. And there is C before the
name.
Does anyone can use this plugin with space in custom fields?

Thanks2009/11/9 Sergio Charpinel Jr. sergiocharpinel@gmail.com

Hi,

I have installed CommandByMail plugin, and added these lines do
RT_SiteConfig.pm:

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));

But I getting this error:
[error]: Couldn’t load RT::Interface::email::Filter::TakeAction: Can’t
locate RT/Interface/Email/Filter/TakeAction.pm in @INC (@INC contains:
/opt/rt3/bin/…/local/lib /opt/rt3/local/plugins/RT-Extension-MergeUsers/lib
/opt/rt3/bin/…/lib /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
/etc/apache2) at /opt/rt3/bin/…/lib/RT/Interface/Email.pm line 1104.

If I copy
/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
to /opt/rt3/lib/RT/Interface/Email/Filter/TakeAction.pm , no error appear,
and I can use Stats: resolved command for example. But I cant get
CustomFields to work.

For example, I have a CF called Problem time.
So here is my message:

CF.{CProblem Time}: 12 40

My messagee…

But nothing happens to my Custom Field.
Any ideas? Do I really have to copy the file, or there is something else
that I have to do?

Thanks in advance.


Sergio Roberto Charpinel Jr.

Sergio Roberto Charpinel Jr.

Now I can use spaces between custom field name.

I changed line 200 from
last if $line !~ /^(?:(\S+)\s*?:\s*?(.)\s?|)$/;

to:
last if $line !~ /^(?:(.+)\s*?:\s*?(.)\s?|)$/;

and there is no C before custom fields name ( at least in version 0.07 ) of
commandbymail.

Bye2009/11/9 Sergio Charpinel Jr. sergiocharpinel@gmail.com

Seems like I cant use space in custom field name. And there is C before the
name.
Does anyone can use this plugin with space in custom fields?

Thanks

2009/11/9 Sergio Charpinel Jr. sergiocharpinel@gmail.com

Hi,

I have installed CommandByMail plugin, and added these lines do
RT_SiteConfig.pm:

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));

But I getting this error:
[error]: Couldn’t load RT::Interface::email::Filter::TakeAction: Can’t
locate RT/Interface/Email/Filter/TakeAction.pm in @INC (@INC contains:
/opt/rt3/bin/…/local/lib /opt/rt3/local/plugins/RT-Extension-MergeUsers/lib
/opt/rt3/bin/…/lib /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
/etc/apache2) at /opt/rt3/bin/…/lib/RT/Interface/Email.pm line 1104.

If I copy
/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
to /opt/rt3/lib/RT/Interface/Email/Filter/TakeAction.pm , no error appear,
and I can use Stats: resolved command for example. But I cant get
CustomFields to work.

For example, I have a CF called Problem time.
So here is my message:

CF.{CProblem Time}: 12 40

My messagee…

But nothing happens to my Custom Field.
Any ideas? Do I really have to copy the file, or there is something else
that I have to do?

Thanks in advance.


Sergio Roberto Charpinel Jr.


Sergio Roberto Charpinel Jr.

Sergio Roberto Charpinel Jr.

Now I can use spaces between custom field name.

I changed line 200 from
last if $line !~ /^(?:(\S+)\s*?:\s*?(.)\s?|)$/;

to:
last if $line !~ /^(?:(.+)\s*?:\s*?(.)\s?|)$/;

and there is no C before custom fields name ( at least in version 0.07 ) of commandbymail.

I believe this is already fixed in the 0.08_01 development release.

   I have installed CommandByMail plugin, and added these lines do RT_SiteConfig.pm:

   Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
   Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));

Do you have another @Plugins line, possibly something involding
RT::Extension::MErgeUsers? Your @INC below makes no mention of RT-FM
or RT-Extension-CommandByMail

Yes
This are my lines:

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

Set(@Plugins,(qw(RT::FM RT::Extension::MandatorySubject)));
Set(@Plugins,(qw(RT::FM RT::Extension::MandatoryRequestor)));
Set(@Plugins,(qw(RT::FM RTx::Calendar)));
Set(@Plugins,(qw(RT::FM RT::Extension::SearchResults::XLS)));
Set(@Plugins,(qw(RT::FM RTx::EmailCompletion)));
Set(@Plugins,(qw(RT::FM RT::Extension::ResetPassword)));
Set(@Plugins,(qw(RT::FM RT::Extension::ActivityReports)));
Set(@Plugins, qw(RT::FM));
Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));
Set(@Plugins, qw(RT::Extension::MergeUsers));2009/11/10 Kevin Falcone falcone@bestpractical.com

On Tue, Nov 10, 2009 at 11:02:36AM -0200, Sergio Charpinel Jr. wrote:

Now I can use spaces between custom field name.

I changed line 200 from
last if $line !~ /^(?:(\S+)\s*?:\s*?(.)\s?|)$/;

to:
last if $line !~ /^(?:(.+)\s*?:\s*?(.)\s?|)$/;

and there is no C before custom fields name ( at least in version 0.07
) of commandbymail.

I believe this is already fixed in the 0.08_01 development release.

   I have installed CommandByMail plugin, and added these lines do

RT_SiteConfig.pm:

   Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
   Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));

Do you have another @Plugins line, possibly something involding
RT::Extension::MErgeUsers? Your @INC below makes no mention of RT-FM
or RT-Extension-CommandByMail

   But I getting this error:
   [error]: Couldn't load RT::Interface::Email::Filter::TakeAction:

Can’t locate

   RT/Interface/Email/Filter/TakeAction.pm in @INC (@INC contains:

/opt/rt3/bin/…/local/lib

   /opt/rt3/local/plugins/RT-Extension-MergeUsers/lib

/opt/rt3/bin/…/lib /etc/perl

   /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0

/usr/lib/perl5 /usr/share/perl5

   /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .

/etc/apache2) at

   /opt/rt3/bin/../lib/RT/Interface/Email.pm line 1104.

The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Sergio Roberto Charpinel Jr.

Yes
This are my lines:

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

Set(@Plugins,(qw(RT::FM RT::Extension::MandatorySubject)));
Set(@Plugins,(qw(RT::FM RT::Extension::MandatoryRequestor)));
Set(@Plugins,(qw(RT::FM RTx::Calendar)));
Set(@Plugins,(qw(RT::FM RT::Extension::SearchResults::XLS)));
Set(@Plugins,(qw(RT::FM RTx::EmailCompletion)));
Set(@Plugins,(qw(RT::FM RT::Extension::ResetPassword)));
Set(@Plugins,(qw(RT::FM RT::Extension::ActivityReports)));
Set(@Plugins, qw(RT::FM));
Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));
Set(@Plugins, qw(RT::Extension::MergeUsers));
This should really be something like:

Set(@Plugins, qw(RT::FM
RT::Extension::MandatorySubject
RT::Extension::MandatoryRequestor
RTx::Calendar
RT::Extension::SearchResults::XLS
RTx::EmailCompletion
RT::Extension::ResetPassword
RT::Extension::ActivityReports
RT::Extension::CommandByMail
RT::Extension::MergeUsers));

Even if setting @Plugins multiple times made sense,
what’s the point of listing RT::FM a dozen times?