Linux - process email with PDF into HTML with inline image
Posted: 2007-06-05T19:53:00-07:00
Trying to get confirmation that the following processing/function concept would be possible...
On a Linux server, emails are received from a Fax gateway/software which converts faxes to PDF attachments. The incoming email is then re-directed/forwarded to an external address for collection.
I want IM to process the PDF attachment (on the server received email), so that it converts the 1st page of the PDF and creates a lo-res jpg (say 420 x 594) to be inserted inline into the forwarded HTML email (to the external address) with the original PDF attached.
The end result is an email with the PDF (fax) attached, but also an immediately viewable 1st page image of the fax within the message saying "You received a fax...", etc. This allows much easier browsing through emails to find required item, without having to open each PDF.
Has anyone seen this function in action? Does IM work with emails directly (or have to save attachment first, etc)? Any tips, pointers, suggestions?
Thanks.
* I searched through forums, didn't see anything similar, and am noob to IM (and linux).
Looking for concept confirmation, and any tips where to start.
On a Linux server, emails are received from a Fax gateway/software which converts faxes to PDF attachments. The incoming email is then re-directed/forwarded to an external address for collection.
I want IM to process the PDF attachment (on the server received email), so that it converts the 1st page of the PDF and creates a lo-res jpg (say 420 x 594) to be inserted inline into the forwarded HTML email (to the external address) with the original PDF attached.
The end result is an email with the PDF (fax) attached, but also an immediately viewable 1st page image of the fax within the message saying "You received a fax...", etc. This allows much easier browsing through emails to find required item, without having to open each PDF.
Has anyone seen this function in action? Does IM work with emails directly (or have to save attachment first, etc)? Any tips, pointers, suggestions?
Thanks.
* I searched through forums, didn't see anything similar, and am noob to IM (and linux).
Looking for concept confirmation, and any tips where to start.