LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-14-2004, 09:04 PM   #1
akaash
LQ Newbie
 
Registered: Mar 2004
Location: Gujarat, India
Posts: 22

Rep: Reputation: 15
reading mails?


My company is using openwebmail as email client. Respective users' mails are stored in /home/<username>/mail/
where <username> is the name of the user.

In this mail folder there are 4 files in mbox format: sent-mail, saved-messages, saved-drafts and mail-trash
Mails are stored according to the user selection.

Now what i require to do is write a program in perl/cgi which can display mails from a particular folder selected
by the user. i.e. if user selects trash then i need to display all the subjects of the mail on the first page.
And then as the user click any subject then he should be able to see the corresponding mail.

I don't know how to do that ?
Is there any module available on CPAN.org for this purpose so that whenever a user clicks on the subject of the
mail, he is able to see the whole message along with attachments if any ?

Plz. give me some guidance...
 
Old 04-24-2004, 06:33 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
libmail-mbox-messageparser-perl might be useful, thus quite simple.

libmail-box-perl does some more; it contains examples on how to pick the subject fields from the mailbox, etc.
 
Old 04-25-2004, 10:10 PM   #3
akaash
LQ Newbie
 
Registered: Mar 2004
Location: Gujarat, India
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for ur reply...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reading mails using php shenil Linux - Newbie 4 05-28-2005 04:36 PM
Sometimes can't get mails gubak Linux - Networking 3 08-27-2004 11:52 AM
Importing IE e-mails Rutnut Linux - General 5 05-29-2004 08:35 AM
Mails karunesh Linux - General 2 10-23-2002 01:32 PM
reading mails from MS exchange server shoot2kill Linux - General 2 04-11-2002 01:55 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration