This looks like I may be able to use this to get at my attachments.<br><br>Can anyone tell me this... Are the functions that are in the perl scripts in /usr/lib/MailScanner/MailScanner, available to any custom function that I place in /usr/lib/MailScanner/MailScanner/CustomFunctions?<br>
<br>Thanks again,<br>Mark<br><br>&nbsp;&gt;Mark Wold wrote:<br>
&gt;&gt; I have a client that wants to email me PDF files so that I can convert them<br>
&gt;&gt; to TIFF images and then forward them along. They want the process to work<br>
&gt;&gt; 24/7. So instead of having a user who&#39;s job it is to grab the attachments<br>
&gt;&gt; and perform the work, I would like to see if I can get MailScanner to watch<br>
&gt;&gt; for emails coming into a specific user, extract and store the attachments to<br>
&gt;&gt; a predefined directory in the system, and then move on to other messages. I<br>
&gt;&gt; can easily then takes the PDF and perform the conversions and forward it on.<br>
&gt;&gt;<br>
&gt;&gt; Does anyone know if I can do this extracting with MailScanner?<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Mark<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;You can do this with a Custom Function.<br>
&gt;See /usr/lib/MailScanner/<div id=":t8" class="ArwC7c ckChnd">&gt;MailScanner/CustomFunctions<br>
&gt;and see /usr/lib/MailScanner/MailScanner/Message.pm (location on my<br>
&gt;system may be different than yours)<br>
&gt;<br>
&gt;MailScanner does this currently with word docs for example:<br>
&gt;Message.pm: my @docfiles =<br>&gt;MailScanner::Antiword::FindDocFiles($this-&gt;{entity});<br>
&gt;<br>
&gt;So it should be doable!<br>
&gt;<br>
&gt;Ken</div>