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