<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi,</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">I need to detect if a zip file has been attached to a ticket at</div><div class="gmail_default" style="font-family:monospace,monospace">creation time and also at 'comment' or 'correspond' time.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">My idea to solve this is to extract the attachments and then parse</div><div class="gmail_default" style="font-family:monospace,monospace">the content.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">I think the best route for this would be:</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace"> TransactionObj->Attachments->Next ... </div><div class="gmail_default" style="font-family:monospace,monospace"> ContentAsMIME(Children=>1)<br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Since MIME entities can themselves contain other entities,</div><div class="gmail_default" style="font-family:monospace,monospace">I think I'm going to need a recursive function ...</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Basically what I'd like is a few words of advice. I think I can</div><div class="gmail_default" style="font-family:monospace,monospace">come up with a solution but perhaps there's a simpler path I'm overlooking or I'm not aware of.</div><div><br></div><div><div class="gmail_default" style="font-family:monospace,monospace">Thanks in advance,</div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Regards,<br><br>Hugo Escobar<br><br>
<div><a href="http://www.associationfinancialservices.com/" target="_blank"><img src="cid:part1.02030600.00030308@enflyer.com" height="26" width="126" border="0"></a><br><br></div>4770 Biscayne Blvd, Ste 700<br>Miami, FL 33137<br>
<br>main: 305.677.0022<br>support: 305.921.4620<br>email: <a href="mailto:hescobar@afslc.com" target="_blank">hescobar@afslc.com</a><br><br>Follow us on Facebook and Linked-In<br>
<div><a href="http://www.facebook.com/pages/Miami-FL/ASSOCIATION-FINANCIAL/64952991864" target="_blank"><img alt="" src="cid:part1.08060004.03030107@enflyer.com" height="24" width="24" border="0"></a> <a href="http://www.linkedin.com/companies/1006276" target="_blank"><img alt="" src="cid:part2.00090205.04060608@enflyer.com" height="24" width="24" border="0"></a> </div>
<br>NOTICE: This email and any attachment to this email may contain
confidential information. If you are not the intended recipient, you
must not review, retransmit, convert to hard copy, photocopy, use or
disseminate this email or any attachments to it. If you have received
this email in error, please notify us immediately by return email and
delete this message. Please note that if this email contains a forwarded
message or is a reply to a prior message, some or all of the contents
of this message or any attachments may not have been produced by our
firm. <b>As our firm may be deemed a debt collector, if your payment is
in default, we may be attempting to collect a debt on behalf of the
association, and any information obtained may be used for that purpose.</b><br></div></div>
</div>