Hi all,
this bellow is our autoreply template.

Subject: AutoReply: {$Ticket->Subject}


Greetings,

This message has been automatically generated in response to the
creation of a request for IT Support regarding:
        "{$Ticket->Subject()}", 
a summary of which appears below.

There is no need to reply to this message right now.  Your request has been
assigned an ID of [{$Ticket->QueueObj->SubjectTag || $rtname}
#{$Ticket->id()}].

Please include the string:

         [{$Ticket->QueueObj->SubjectTag || $rtname} #{$Ticket->id}]

in the subject line of all future correspondence about this issue. To do so, 
you may reply to this message.

                        Thank you,
                        IT Department
{
 *RT::User::GenerateRandomNextChar = \&RT::User::_GenerateRandomNextChar;
 
 if (($Transaction->CreatorObj->id != $RT::Nobody->id) &&
     (!$Transaction->CreatorObj->Privileged) &&
     ($Transaction->CreatorObj->__Value('Password') eq '*NO-PASSWORD*')
     ) {
         my $user = RT::User->new($RT::SystemUser);
         $user->Load($Transaction->CreatorObj->Id);
         my ($stat, $pass) = $user->SetRandomPassword();
 
         if (!$stat) {
                 $OUT .=
 "An internal error has occurred. RT was not able to set a password for you.
 Please contact your local RT administrator for assistance.";
 
         }
 
 $OUT .= "
 You can check the current status and history of your requests at:
 
         ".$RT::WebURL."
 
 When prompted, enter the following username and password:
 
         Username: ".$user->Name."
         Password: ".$pass."
 ";
 }
 }
-------------------------------------------------------------------------
{$Transaction->Content()}

This is working fine but it only sends the option to check the current
status and history of your requests only the first time you ever send an
email to RT.

Is there a way to make the option that the autoreply always sends a username
and password for checking the current status and history of your requests?

Kind Regards
Vas



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Autoreply-Template-Script-tp59459.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.

Reply via email to