LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-10-2011, 04:08 AM   #1
dinakumar12
Member
 
Registered: Mar 2010
Location: INDIA (chennai)
Distribution: centos
Posts: 271
Blog Entries: 7

Rep: Reputation: 18
script for reading emails


Hi all,

In linux is there a way to read a mail from particular mail id and the mail content should be written to text file.

is it possible, if possible can any anyone share the idea behind that.

Thanks in advance,
Dinesh.
 
Old 02-11-2011, 05:48 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
If the messages are stored on your system, i.e. mailbox or maildir, you could grep for the particular ID and then simply open the mail in a text editor. If you meant something more than this, would you please elaborate on what it is that you are trying to accomplish?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 and writing emails from the console cosmicd Slackware 10 04-04-2010 06:55 AM
Script that connects to Hotmail and forwards emails. snowman81 Linux - Software 3 01-29-2008 01:36 PM
Can I make a script to post emails to a forum? i.of.the.storm Programming 2 12-30-2007 01:49 PM
reading multipart mime emails alan_h404 Linux - Software 3 01-24-2005 12:13 PM
Script to remove old emails in a user's mailbox ganninu Programming 7 08-05-2003 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:57 AM.

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