projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import of rt 3.0.9
[freeside.git]
/
rt
/
html
/
REST
/
1.0
/
NoAuth
/
mail-gateway
diff --git
a/rt/html/REST/1.0/NoAuth/mail-gateway
b/rt/html/REST/1.0/NoAuth/mail-gateway
index
8db80d5
..
359331f
100644
(file)
--- a/
rt/html/REST/1.0/NoAuth/mail-gateway
+++ b/
rt/html/REST/1.0/NoAuth/mail-gateway
@@
-29,12
+29,15
@@
$ticket => undef
</%ARGS>
<%init>
use RT::Interface::Email;
</%ARGS>
<%init>
use RT::Interface::Email;
-my ( $status, $error, $Ticket ) = RT::Interface::Email::Gateway(
%ARGS);
+my ( $status, $error, $Ticket ) = RT::Interface::Email::Gateway(
\
%ARGS);
</%init>
<%flags>
inherit => undef # inhibit UTF8 conversion done in /autohandler
</%flags>
</%init>
<%flags>
inherit => undef # inhibit UTF8 conversion done in /autohandler
</%flags>
-% if ($status) {
+% if ($status == -75 ) {
+temporary failure
+% }
+% elsif ($status == 1) {
ok
% if ( $Ticket->Id ) {
Ticket: <% $Ticket->Id %>
ok
% if ( $Ticket->Id ) {
Ticket: <% $Ticket->Id %>