- This topic has 2 replies, 2 voices, and was last updated 15 years, 6 months ago by .
A client has asked if I can take attachments from emails and push them through the engine. This looked straightforward so I wrote a script using tcllib pop3 and mime libraries to access a mailbox, pull down the message and using MIME extract the attachment which is a CSV file. For some reason it doesn’t work. I can get the message but it fails to recognise the file as MIME – Even though I know it is and can see the MIME headers etc.
It looks to me as though I’m missing a step I don’t know what it is. Has anybody else done anything like this and if so can they offer any advice?
I’ve included the code – it fails at the mime initialise ‘IF’. I’ve also included a sample output from a run. Both emails are MIME and both fail.
- The forum ‘General’ is closed to new topics and replies.