parsing email headers

2010-03-24 Thread Paul Rogers
I started on a venture to parse POP3 email headers and I wrongly assumed perl would make that task easy...surely someone in the perl community has a piece of code to make parsing email headers trivial? Apparently not, at least not from what I've seen. My ultimate goal is to delete POP3 emails

RE: parsing email headers

2010-03-24 Thread Tobias Hoellrich
There are tons of POP3 related modules on CPAN: http://cpan.uwinnipeg.ca/search?query=pop3mode=dist I've used Mail::POP3Client in the past and your task could be easily implemented with it: http://cpan.uwinnipeg.ca/htdocs/Mail-POP3Client/Mail/POP3Client.html Cheers - Tobias -Original

RE: parsing email headers

2010-03-24 Thread Paul Rogers
Thank you for your reply. I suppose I should have been a bit more specific. I have indeed been using Mail::POP3Client. However, it's the dates that I think could prove tricky. The code down below does indeed narrow down to the date (assuming I work with the Date: header). Dates appear to be

execute script

2010-03-24 Thread bigthepaco
Hi, I need your help. I must develop a script to change periodically all local administrator passwords of about 1000 clients of my LAN (NT domain). I'd like to do it with Perl. I'd like to develop with a Linux box, but it's not possible ok, I can do it on Windows. Can I do it on Linux box? Is

Re: .pl to DLL creation

2010-03-24 Thread p sena
could this be solved by converting the .pl to an exe. --- On Wed, 3/24/10, Kprasad kpra...@aptaracorp.com wrote: From: Kprasad kpra...@aptaracorp.com Subject: .pl to DLL creation To: perl-win32-users@listserv.ActiveState.com Date: Wednesday, March 24, 2010, 11:09 AM Hi All   Could anyone

RE: parsing email headers

2010-03-24 Thread Tobias Hoellrich
Take a look at the Date::Parse module as well, as it can handle a lot of different Date/Time formats. You may need to find the Date/Time string first (that should be a few simple regexps) and then hand it off to Date::Parse. Personally I would take that approach on a number of sample messages

RE: parsing email headers

2010-03-24 Thread Brian Raven
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Paul Rogers Sent: 24 March 2010 15:17 To: perl-win32-users@listserv.ActiveState.com Subject: RE: parsing email headers Thank you for your reply. I suppose I should

RE: parsing email headers

2010-03-24 Thread Paul Rogers
Brian Raven wrote: CPAN is your friend. For example, I tried http://search.cpan.org/search?query=datetime%3A%3Aformatmode=all, and on the fourth page I saw DateTime::Format::Mail, which sounds pretty much like what you are asking for. BTW, it seems to be available vie ppm as well.

RE: execute script

2010-03-24 Thread Howard Tanner
Check out smbpasswd. And by the way, google is your friend. Try that first before looking for help on a mailing list. -Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl- win32-users-boun...@listserv.activestate.com] On Behalf Of bigthepaco Sent:

RE: .pl to DLL creation

2010-03-24 Thread Jan Dubois
Kprasad wrote: Could anyone tell me that what is process to create DLL file from perl script (.pl) file? Depends on what you want to do with that DLL file. The ActiveState Perl Dev Kit has tools to create either a COM control (PerlCtrl) or a .NET assembly (PerlNET) from code written in Perl.