<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<pre wrap="">bestpractical</pre>
<br>
Please let me know how to unsubscribe to your emails.<br>
<br>
Thanks<br>
<br>
On 1/30/2012 2:41 AM, Bart wrote:
<blockquote
cite="mid:CAB2d3rYcwH5Fov6Zjk5E7xmFuktyhQjrFwjeyENX22QW_8sssQ@mail.gmail.com"
type="cite">Hi,
<div><br>
</div>
<div>We had a similar requirement for a bunch of e-mail addresses.</div>
<div><br>
</div>
<div>This can be achieved by editing the autoreply scrip to look
something like this:</div>
<div>
<ul>
<li>Condition: User Defined</li>
<li>Action: Auto Reply To Requestors</li>
<li>Template: Your AutoReply template</li>
<li>Stage: TransactionCreate</li>
<li>Custom Condition:</li>
</ul>
</div>
<div><br>
</div>
<div>
<div><font class="Apple-style-span" face="'courier new',
monospace">my @exceptionList = ('<a moz-do-not-send="true"
href="mailto:name1@example.com">name1@example.com</a>',</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace"> '<a moz-do-not-send="true"
href="mailto:name2@example.com">name2@example.com</a>',</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace"> '<a moz-do-not-send="true"
href="mailto:name3@example.com">name3@example.com</a>');</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace"><br>
</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace">my $transactionType =
$self->TransactionObj->Type;</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace">my $ticketRequestor =
lc($self->TicketObj->RequestorAddresses);</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace">my $trans = $self->TransactionObj;</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace"><br>
</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace">if ($transactionType eq 'Create') {</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace"> return if grep { $ticketRequestor eq lc($_) }
@exceptionList;</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace"> my $msgattr = $trans->Message->First;</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace"> return 0 unless $msgattr;</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace"> return 1 if $msgattr->GetHeader('Received');</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace">}</font></div>
<div><font class="Apple-style-span" face="'courier new',
monospace">return 0;</font></div>
<div><br>
</div>
<div>In addition the above only sends an autoreply when someone
sends an e-mail, in our case we don't like the autoreply mails
when we manually create a ticket (e.g. via quick create).</div>
<div><br>
</div>
<div>Hope this helps.</div>
<div><br clear="all">
-- Bart<br>
<br>
<br>
<div class="gmail_quote">Op 25 januari 2012 21:02 schreef Ram
Moskovitz <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ram0502@gmail.com">ram0502@gmail.com</a>></span>
het volgende:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey there,
<div>I'm looking to not auto-reply on create to inbound
emails from a certain domain ( <a
moz-do-not-send="true"
href="mailto:anything@example.com" target="_blank">anything@example.com</a>
and even <a moz-do-not-send="true"
href="mailto:anything@sd.example.com" target="_blank">anything@sd.example.com</a>).
I suppose the right way to go about this is via user
defined condition in the global scrip for autoreply on
create. I have steps 1 and 3.. what's step 2?</div>
<div><br>
</div>
<div>1 return 0 unless $self->TransactionObj->Type
eq "Create";</div>
<div>2 return 0 if #self->TicketObj->???? </div>
<div>3 return 1</div>
<div><br>
</div>
<div>thanks</div>
<span class="HOEnZb"><font color="#888888">
<div>
ram</div>
<div><br>
</div>
</font></span><br>
--------<br>
RT Training Sessions (<a moz-do-not-send="true"
href="http://bestpractical.com/services/training.html"
target="_blank">http://bestpractical.com/services/training.html</a>)<br>
* Boston — March 5 & 6, 2012<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--------
RT Training Sessions (<a class="moz-txt-link-freetext" href="http://bestpractical.com/services/training.html">http://bestpractical.com/services/training.html</a>)
* Boston — March 5 & 6, 2012</pre>
</blockquote>
</body>
</html>