Parsing emails in mailbox

2002-04-12 Thread Ankit Gupta
Hello, I need help to parse emails for their From, UID and message text fields from a local mailbox file (unix type). I am using Windows Me and any sort of help in this direction would be highly appreciated. If someone can provide some sample code, that will be really very nice. Looking forward

Installing Module

2002-04-13 Thread Ankit Gupta
be thankful to that person. Regards, Ankit Gupta -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Mail-Mboxparser

2002-04-14 Thread Ankit Gupta
file in this package. Looking forward to hear soon. Regards, Ankit Gupta -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help for Mboxparser Module

2002-05-20 Thread Ankit Gupta
:45 - MIME-Version: 1.0 From: "amit k kohli" <[EMAIL PROTECTED]> Reply-To: "amit k kohli" <[EMAIL PROTECTED]> To: "Ankit Gupta" <[EMAIL PROTECTED]> Subject: Re: Content-type: text/plain; format=flowed Content-Disposition: inline I have tried to m

Re: Help for Mboxparser Module

2002-05-21 Thread Ankit Gupta
Hi, Thanks for the message. I was infact able to rectify the problem. Many thanks for the assistance. Regards, ankit "Drieux" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Monday, May 20, 2002, at 03:53 , Ankit Gupta w

Need help in Regular Expression

2002-05-24 Thread Ankit Gupta
2002 19:47:50 +0530 . Can someone help me in this. I am trying $header =~ m/Date:/; and then my $ab = " $' \n"; but this gives me everything after Date: word. As I wrote above, I need only Thu, 23 May 2002 19:47:50 +0530 string To: "Ankit Gupta" <[EMAIL PROTECTED]>

Converting Date to UTC format

2002-05-25 Thread Ankit Gupta
Hello, I am trying to convert date from Emails into UTC format (number of seconds elapsed since 1.1.1970). I am using this method: my $GMtime = strftime("%Y%m%d%H%M%S", gmtime($ab1)); where ab1 is the date and time derived from email like Mon, 08 Oct 2001 13:33:50 +0200 Could some one suggest

help in regular expression

2002-05-31 Thread Ankit Gupta
Hello Friends, I need help in the below written script. $dirstruct =~ s/([\W])/-/; print $dirstruct; here $dirstruct is c:\ankit\test what I need as output is c--ankit-test but the output given by my script is c-\ankit\test Thanx Ankit -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Help in Regular expression with array

2002-06-05 Thread Ankit Gupta
Hello, I am facing a problem in using regular expression on array. My code is written below: open(FILE, $dirvalue) ; my @lines = ; print @lines; # prints the file contents if( @lines =~ m/Date:/) { print "ok";} close(FILE); here I can pr

Files at different location

2002-11-05 Thread Ankit Gupta
Hi, I have written script that makes lot of files but the problem is that my script stores all the files at the location from where the script is run. I have tried usingt chdir("c:\abc") in order to store all the files in abc directory but its of no use and still it stores files in the directory

Re: E-mail manipulation

2002-11-29 Thread Ankit Gupta
Hello, I am using MailMboxparser module and it can do what you want but the thing is that you will be able to read headers only when mails are in mail box. I have already implemented the same but as per your mail, you need headers before they are delivered to mail box. Ankit "Marcelo" <[EMAIL PR

MboxParser

2002-11-29 Thread Ankit Gupta
Hello, I am using Mboxparser module for parsing email messages for their headers and body parts. Right now I am working on Windows platform and its working fine with my script. Then I decided to run it on Linux but its not working at all. It does not give any error but does not parses any message

Linux Environment Variable

2003-03-21 Thread Ankit Gupta
Hi, I want to print some linux environment variables that have already been set. Could some one let me know which command I can use to get value of environment variables. Regards, Ankit -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Environment variables

2003-03-21 Thread Ankit Gupta
Hi, I want to print some linux environment variables that have already been set. Could some one let me know which command I can use to get value of environment variables. Regards, Ankit -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Thanx to all

2002-06-07 Thread Ankit Gupta
Many thanks to all for help. Regards, Ankit Gupta "Ankit Gupta" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I am facing a problem in using regular expression on array. My code is > written b

command line argument

2002-06-30 Thread Ankit Gupta
Hello Everyone, I was trying the following through command line c:\> perl abc.pl folder1\folder2 folder3\folder4 but in script I am just able to get folder1\folder2 where as I need both folder1\folder2 and folder3\folder4 separately in different variables. Is there any method to achieve