summaryrefslogtreecommitdiff
path: root/rt/html/REST/1.0/NoAuth
diff options
context:
space:
mode:
authorivan <ivan>2004-03-11 02:05:38 +0000
committerivan <ivan>2004-03-11 02:05:38 +0000
commiteb9668a6f3181ee02cb335272c5ee4616e61fd09 (patch)
treef5a22d9141723fd9e2fdb40430e4a38743b72604 /rt/html/REST/1.0/NoAuth
parent25953817e61fd252c18241699c0b6cdc3fa54121 (diff)
parent289340780927b5bac2c7604d7317c3063c6dd8cc (diff)
This commit was generated by cvs2svn to compensate for changes in r3241,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'rt/html/REST/1.0/NoAuth')
-rw-r--r--rt/html/REST/1.0/NoAuth/mail-gateway7
1 files changed, 5 insertions, 2 deletions
diff --git a/rt/html/REST/1.0/NoAuth/mail-gateway b/rt/html/REST/1.0/NoAuth/mail-gateway
index 8db80d5ff..359331f58 100644
--- 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;
-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>
-% if ($status) {
+% if ($status == -75 ) {
+temporary failure
+% }
+% elsif ($status == 1) {
ok
% if ( $Ticket->Id ) {
Ticket: <% $Ticket->Id %>