<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Aaron,<br>
<br>
We use this code:<br>
<br>
# condition set on email transaction to create<br>
<br>
my $trans = $self->TransactionObj;<br>
my $msgattr = $trans->Message->First;<br>
<br>
return 0 unless $trans->Type eq "Create";<br>
return 0 unless $msgattr;<br>
return 1 if $msgattr->GetHeader('Received');<br>
return 0;<br>
<br>
Hope this helps.<br>
<br>
Kenn<br>
LBNL<br>
<br>
On 6/10/2009 7:04 PM, Aaron Guise wrote:
<blockquote
cite="mid:c8c01a250906101904i62850a9bx1158e6c767dea3b9@mail.gmail.com"
type="cite">Thanks Jerrad,<br>
<br>
I couldn't remember where I had seen this before. I since had a good
search and found it on the Wiki.<br>
<blockquote style="margin: 1.5em 0pt;">
<p><b>Regards,</b></p>
<p><b>Aaron Guise<br>
<img moz-do-not-send="true"
src="http://www.guise.net.nz/images/signatures/mob.gif" border="0"
height="24" width="30">027 212 6638<br>
<img moz-do-not-send="true"
src="http://www.guise.net.nz/images/signatures/email.gif" border="0"
height="26" width="29"><a moz-do-not-send="true" target="_blank"
href="mailto:aaron@guise.net.nz">aaron@guise.net.nz</a><br>
</b></p>
</blockquote>
<br>
<br>
<div class="gmail_quote">On Thu, Jun 11, 2009 at 12:59 PM, Jerrad
Pierce <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jpierce@cambridgeenergyalliance.org">jpierce@cambridgeenergyalliance.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This
info exists somewhere on the wiki as a user-contributed enhancement.<br>
<font color="#888888"><br>
--<br>
Cambridge Energy Alliance: Save money. Save the planet.<br>
</font></blockquote>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
<a class="moz-txt-link-freetext" href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a>
Community help: <a class="moz-txt-link-freetext" href="http://wiki.bestpractical.com">http://wiki.bestpractical.com</a>
Commercial support: <a class="moz-txt-link-abbreviated" href="mailto:sales@bestpractical.com">sales@bestpractical.com</a>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at <a class="moz-txt-link-freetext" href="http://rtbook.bestpractical.com">http://rtbook.bestpractical.com</a></pre>
</blockquote>
</body>
</html>