[Rt-commit] r7346 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Mon Mar 26 13:38:57 EDT 2007
Author: ruz
Date: Mon Mar 26 13:38:57 2007
New Revision: 7346
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Action/SendEmail.pm
Log:
r4803 at cubic-pc: cubic | 2007-03-26 21:34:24 +0400
* shuffle docs
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Action/SendEmail.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Action/SendEmail.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Action/SendEmail.pm Mon Mar 26 13:38:57 2007
@@ -75,20 +75,25 @@
Basically, you create another module RT::Action::YourAction which ISA
RT::Action::SendEmail.
-=begin testing
+=head1 METHODS
ok (require RT::Action::SendEmail);
=end testing
+=cut
-=head1 AUTHOR
-Jesse Vincent <jesse at bestpractical.com> and Tobias Brox <tobix at cpan.org>
+sub CleanSlate {
+ my $self = shift;
+ $self->SquelchMailTo( undef );
+ $self->AttachTickets( undef );
+}
-=head1 SEE ALSO
+=head2 Commit
-perl(1).
+Sends the prepared message and writes outgoing record into DB if the feature is
+activated in the config.
=cut
@@ -102,6 +107,12 @@
return (abs $ret);
}
+=head2 Prepare
+
+Builds an outgoing email we're going to send using scrip's template.
+
+=cut
+
sub Prepare {
my $self = shift;
@@ -915,5 +926,15 @@
eval "require RT::Action::SendEmail_Local";
die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/SendEmail_Local.pm});
+=head1 AUTHOR
+
+Jesse Vincent <jesse at bestpractical.com> and Tobias Brox <tobix at cpan.org>
+
+=head1 SEE ALSO
+
+L<RT::Action::Notify>, L<RT::Action::NotifyAsComment> and L<RT::Action::Autoreply>
+
+=cut
+
1;
More information about the Rt-commit
mailing list