Re: Mail App

2004-07-08 Thread Brian McGraw

Mail::Box is your friend !
I'm using it with a lot of success for needs similar to yours.
Here some references:
http://perl.overmeer.net/mailbox/
http://search.cpan.org/~markov/Mail-Box-2.055/lib/Mail/Box.pod
http://marc.theaimsgroup.com/?l=perl-mailbox
I'd like to add an article that Simon Cozens recently posted to 
perl.com.  It's got a nice overview of Perl's email handling modules, 
and what they can do for you.

http://www.perl.com/pub/a/2004/06/10/email.html
Brian
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



RE: Mail App

2004-07-07 Thread NYIMI Jose (BMB)


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 07, 2004 1:18 AM
> To: [EMAIL PROTECTED]
> Subject: Mail App
> 
> 
> Hello all,
> 
> I have written first in PHP and then in Java an app to fetch 
> attachments from a remote mailbox.
> 
> I am not satisfied with Java's libraries as well as its 
> memory requirements and speedy. Therefore I want to do the 
> same in Perl so that it can run smoothly on my Linux box.
> 
> Because of that I would like to ask some advice and where to 
> find documentation about it.
> 
> The script needs to:
> - Read the messages, headers from a mailbox and Download only 
> .zip and .txt from each message if it has one or more attachments.
> - Delete the message.
> So, it is kind of a for loop that iterates through the messages lists.
> 
> After that I need to uncompress the zip files and process its 
> contents that will be inserted on a Database.
> 
> What are the Perl modules to achieve that? Is there any 
> documentation about it?
> 
> I am new to Perl but I have writen many programs in C, C++. 
> Java, PHP, Pascal, etc.
> 
> Thanks,

Mail::Box is your friend !
I'm using it with a lot of success for needs similar to yours.

Here some references:
http://perl.overmeer.net/mailbox/
http://search.cpan.org/~markov/Mail-Box-2.055/lib/Mail/Box.pod
http://marc.theaimsgroup.com/?l=perl-mailbox

Join its maillist, the Author of the module is there supporting you ...

HTH,

José.


 DISCLAIMER 

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




Re: Mail App

2004-07-06 Thread JupiterHost.Net

[EMAIL PROTECTED] wrote:
Hello all,
I have written first in PHP and then in Java an app to fetch attachments from a remote 
mailbox.
I am not satisfied with Java's libraries as well as its memory requirements and 
speedy. Therefore I want to do the same in Perl so that it can run smoothly on my 
Linux box.
Because of that I would like to ask some advice and where to find documentation about 
it.
The script needs to:
- Read the messages, headers from a mailbox and Download only .zip and .txt
from each message if it has one or more attachments.
- Delete the message.
So, it is kind of a for loop that iterates through the messages lists.
After that I need to uncompress the zip files and process its contents that will be 
inserted on a Database.
What are the Perl modules to achieve that? Is there any documentation about it?
Let me be the first to introduce you to cpan :)
http://search.cpan.org
You may want to look at the many Mail:: modules (Mail::POP3Client comes 
to mind) and Archive::Zip for the zip files, and DBI for the database part.

HTH :)
Lee.M - JupiterHost.Net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]