extract email from inbox


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting extract email from inbox
# 1  
Old 03-21-2005
extract email from inbox

i want to extract the field from, subject and email body part from an inbox into a csv file under redhat 7.x. prefer perl script or any unix utilities. please help. Smilie

Last edited by gxiong; 03-21-2005 at 08:07 PM.. Reason: correction
# 2  
Old 03-22-2005
Quote:
Originally Posted by gxiong
i want to extract the field from, subject and email body part from an inbox into a csv file under redhat 7.x. prefer perl script or any unix utilities. please help. Smilie
can you give sample mails for output generation. It will be great to give inputs to generate your required output format.

HTH.
# 3  
Old 03-23-2005
Quote:
Originally Posted by muthukumar
can you give sample mails for output generation. It will be great to give inputs to generate your required output format.

HTH.
Red Hat Linux Inbox --> /usr/jdoe/inbox
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SED With Regex to extract Email Address

Hi Folks, In my program, I have a variable which consists of multiple lines. i need to use each line as an input. My intention is to extract the email address of the user in each line and use it to process further. The email address could be anywhere in the whole line. But there will be only... (5 Replies)
Discussion started by: ragz_82
5 Replies

2. Programming

Access E-Mail Inbox using PHP

Hi Can anyone please help me out in the below requirement, Need to access the mailbox of any Email server like gmail, yahoo etc.. and access the Inbox and check Emails. If i have to access gmail Inbox of any user, My Input parameter will be the domain name, Email ID and Password. example... (3 Replies)
Discussion started by: vidhyaS
3 Replies

3. UNIX for Dummies Questions & Answers

Invoke a shell script on new email in inbox

Hello all, Is there a way I can invoke a shell script when ever a new mail is delivered to my account in solaris? Something like .forward file, instead of forwarding it to another email id, I want the email to be passed onto some shell script. Basically I want to extract the envelop... (3 Replies)
Discussion started by: atukuri
3 Replies

4. Shell Programming and Scripting

How to lock an inbox using UNIX scripting

Hi All, I have an inbox , which recieves mails every second. I need to copy the contents of the mails in the inbox to a file , say once every minute. Then clear the content of the inbox. There is a possibility that a new mail might come in before I delete the content. Please let me know if... (1 Reply)
Discussion started by: Manju-he202
1 Replies

5. Linux

Fetchmail Ate my inbox!

Hello All. I was messing around with Fetchmail on a Test Email account. Here's what my fetchmailrc file looks like: poll imap.gmail.com proto IMAP fetchall ssl When I ran this, it removed all the test emails from my Google Account. There were a few emails that I needed, however, I... (3 Replies)
Discussion started by: drewrockshard
3 Replies

6. Programming

email extract script

i want to extract the field from, subject and email body part from an inbox on linux redhat 7.x. prefer perl script or any unix utilities script. please help. :confused: (1 Reply)
Discussion started by: gxiong
1 Replies

7. UNIX for Dummies Questions & Answers

Extract or save attachment of email using mailx

Hi, Could someone help me with 'Extract or save attachment of email using mailx' Thanks, Vijay ;) (1 Reply)
Discussion started by: kandati
1 Replies

8. UNIX for Dummies Questions & Answers

Pine inbox

i have shell account at grex.org but i cannot get mauil with pine because the inbox cannot be found? any suggestion? (7 Replies)
Discussion started by: cogeek
7 Replies
Login or Register to Ask a Question