[rt-users] Sending E-Mail From Within Custom Scrips

2016-12-14 Thread Tim Gustafson
Our university has an "official" ticketing system, and one of our
support groups wants to use RT instead.

To make this happen, we're configuring the "official" ticketing system
to send e-mail to an RT queue.  We've written a custom "on create"
scrip in that queue that modifies the ticket when it comes in to set
the "Requester" correctly (e-mail from the other system comes from a
fixed address, not from the client's address; we parse the contents of
the e-mail to ascertain the client's e-mail address directly).  We'd
like our custom scrip to also send an e-mail to the other system to
close that ticket.

What's the canonical way to send e-mail from RT to an external address
without adding correspondence to the RT ticket itself?  I found some
documentation about how to add a transaction to the ticket from within
the scrip, which generates an e-mail, but that's not really what I
want to do here.  I'd rather send a basic plain-text e-mail from
within the scrip.

Is that possible?

-- 

Tim Gustafson
t...@ucsc.edu
831-459-5354
Baskin Engineering, Room 313A
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Los Angeles - January 9-11 2017


Re: [rt-users] mysql DB engine ndbdcluster

2016-12-14 Thread Mike Diehl
At the risk of picking a fight, I'd like to understand this a bit better.

As long as the database supports minimum functions, such as transactions, 
joins, datatypes, etc., why should an application care about the underlying 
storage engine?

Are you trying to imply that ndbcluster simply isn't production-ready?  If so, 
then end of conversation.

Otherwise, what are some of the issues the OP will have to look forward to?

Thanks.

Mike.


On Tuesday, December 13, 2016 09:05:11 PM Alex Vandiver wrote:
> On Tue, 13 Dec 2016 12:25:37 +0100
> 
> Pescoller Reinhold  wrote:
> > Thanks for your informations.
> > 
> > I tried to do so but rt give me an error that innodb is required and
> > that I should upgrade my tables.
> > Have I to change this direct in the code?
> 
> lib/RT/Handle.pm:
> https://github.com/bestpractical/rt/blob/095caac2a4b4fc7baba0d7878a79f8b4865
> 79854/lib/RT/Handle.pm#L291
> 
> I'll reiterate that while RT may appear to work in trivial
> conditions, you're setting yourself up for a world of both poor
> performance and nasty race condition bugs. You get to keep all of the
> pieces when it bursts into flames in production -- NDB is in no way a
> supported, suggested, or sane backing engine for RT.
>  - Alex
> -
> RT 4.4 and RTIR training sessions, and a new workshop day!
> https://bestpractical.com/training * Los Angeles - January 9-11 2017

-- 
Mike Diehl
Diehlnet Communications, LLC.
Sales: (800) 254-6105
Voice: (505) 903-5700
Fax: (505) 903-5701

-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Los Angeles - January 9-11 2017