<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html>
<body>
<DIV id=idOWAReplyText53970 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Thanks...I will give it a
try.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>-Stark</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Gene LeDuc
[mailto:gleduc@mail.sdsu.edu]<BR><B>Sent:</B> Thu 5/24/2007 12:18
PM<BR><B>To:</B> Jeff Stark<BR><B>Cc:</B> rt-users<BR><B>Subject:</B> Re:
[rt-users] Programmatically Sending Emails<BR></FONT><BR></DIV>
<DIV>This is probably a good candidate for a TransactionBatch (rather than
TransactionCreate) scrip; it lets you access all the transactions for a specific
event in a single scrip/template.<BR><BR>From within your template you cycle
through each transaction, grab what you need from each transaction, then build
the mail using that collected data. There are usable examples of this in
The Book and on the wiki.<BR><BR>Regards,<BR>Gene<BR><BR>At 07:52 AM 5/24/2007,
Jeff Stark wrote:<BR>
<BLOCKQUOTE class=cite cite="" type="cite"><FONT face=arial size=2>Does anyone
know if its possible to send an email from within a
form?<BR></FONT> <BR><FONT face=arial size=2>I am updating several items
on a ticket and I want to send one email with all of this information,
including a comment.<BR></FONT> <BR><FONT face=arial size=2>The problem
is, the only way to identify, via a scrip, that this change occurred is to
watch a custom field change...however, I can't get to the content of the
comment if I do this.<BR></FONT> <BR><FONT face=arial size=2>So, I would
like to create the email in my form and have it sent out that
way.<BR></FONT> <BR><FONT face=arial size=2>Is this
possible?<BR></FONT><BR><FONT size=2><B>-Stark</B></FONT></BLOCKQUOTE>
<P><BR>-- <BR>Gene LeDuc, GSEC<BR>Security Analyst<BR>San Diego State
University</P></DIV>
</body>
</html>