SOLUTION for extracting pdf from e-mail
This can be very usefully for someone.
I was trying to extract pdf and encountered two major problems: 1. Server had Content-Transfer-Encoding: 7bit while perl MIME::Parser works with 8bit 2. When reading from file to array perl 5.8.8 drooped last 30 lines. So editing file was impossible. This is solution: Code:
#!/usr/bin/perl |
What the f***???!!! This is what I've been looking for. Thanks mate!!
BTW: If your mail login is "demerzeli", and your password "mail", I just need the hostname ("poczta" isn't valid) in order to mess with your e-Mail account. |
I must say I am a real novice when it comes to Perl, but for the life of me I cannot see what this script has to do with pdf???
I have read it a few times but I am guessing I will have to do some searching :) |
This script in fact will extract any attachment. I just need pdf for my self...
TITiAN I changed login and password so don't you try to be smarter then I am. :rolleyes: Admins could think about sticking this post somewhere to make it easy to find. |
All times are GMT -5. The time now is 04:59 AM. |