[rt-users] Alternative Ticket Creation

Ken O'Driscoll rt-lists at ieinternet.com
Mon Nov 1 04:58:54 EST 2004


On Sat, 2004-10-30 at 00:04, Roland, Ryan M wrote:
> If we want to create our own front-end form, is there a command line
> script (or whatever) we can call and pass the data to create the ticket?
> 
[ ...snip...]

Hi Ryan,

We had the same requirements when we first moved to RT.  We found that
the simplest way was to have a standard HTML form which tied into a
little PHP to send an email to the queue address.

We use the PHP mail function like this:

mail($queueaddress, $subject, $message, $from);

Providing that you can get the requestor to enter their email address in
the form, you can make the email to RT to appear to come from them and
thus they get an RT ticket created message.

In our environment, we have them put in their name also and build the
$from like this:

$from = "From: $email ($name)";


I hope this make sense, I haven't had my coffee yet!

 - Ken.



--
This email has passed through an IE Internet MailWall gateway
and has been screened for known viruses, potential viruses and
malicious code.

IE Internet.com MailWall (http://ieinternet.com/mailwall/)
--




More information about the rt-users mailing list