Sponsored Content
Full Discussion: read mail question
Top Forums UNIX for Dummies Questions & Answers read mail question Post 302574169 by Corona688 on Wednesday 16th of November 2011 05:24:05 PM
Old 11-16-2011
Mail read mode in what? What program are you using?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to mark ALL mail items as read?

Hi guys. Does anyone know if there is a mail command that will allow you to flag all mail items as being read? I've checked out the man mail pages, but can't seem to find what I'm looking for. :confused: We are running UNIX AIX 5.2. Thanks in advance, Kev (3 Replies)
Discussion started by: Krispy
3 Replies

2. Shell Programming and Scripting

script to read from mail

Hi, I have a requirement in which I have to read mail from a unix text file and scan records having failed records (any number > 0) Firstly it should compare the file creation_date with sysdate if the dates match then do the checking for failed records sample file i/p Staged 0... (0 Replies)
Discussion started by: misenkiser
0 Replies

3. Shell Programming and Scripting

How to send a mail in unix--Please read the description

Hi frnds, I want to send 3 csv files as attachement in unix server how do i do this. Following is the steps which i need to follow: 1.Shell script sets the environment variables 2.Shell script calls a C++ executable NOTE:This executable will generate 3 csv files 3.After the... (2 Replies)
Discussion started by: electroon
2 Replies

4. UNIX for Dummies Questions & Answers

How do I read mail in /var/spool/mail?

How can I read mail sent to /var/spool/mail? I do not have pine installed so forget about that...is there some generic utility I can use? (3 Replies)
Discussion started by: mojoman
3 Replies

5. UNIX for Advanced & Expert Users

How to read mail attachement

I want to read attachements sent to unix mail id and save the attachement in folder. I may receive the mails from different mail clients(outlook, lotus ..etc). Attachements are in CSV(comma saperate) format. Let me know the shell script code for this. Regards, Venkat (1 Reply)
Discussion started by: svenkatareddy
1 Replies

6. Shell Programming and Scripting

script to read mail on a mail server

Hi All, Is there any way Unix shell script can directly read a mail on a mail server (for eg. abc@xyz.com) and save it as a text file in a unix directory ? Thanks PRKS ---------- Post updated at 08:37 AM ---------- Previous update was at 08:36 AM ---------- I am using ksh (1 Reply)
Discussion started by: PRKS
1 Replies

7. Shell Programming and Scripting

script to read mail

Hi, I want to write a script that will read mail ( for eg: from abc.def@yahoomail.com ). And if it finds a particular subject then do something.. Is it possible.... Please help... Thanks in adv.. (8 Replies)
Discussion started by: PRKS
8 Replies

8. OS X (Apple)

Read and manage mail under Terminal

When opening Terminal window under Mac OS Lion, I have a message saying I've got mail . It seems to be somewhere close to ~/Library/Server/Mail/Data/spool/ but I ignore what command to be typed in order to read it and suppress it later once read. (1 Reply)
Discussion started by: shub22
1 Replies

9. UNIX for Advanced & Expert Users

Read mail attachments in AIX

Hello All, Is there a way to read/view email attachments in AIX? Here's my scenario; I have users that will being scanning documents for digital storage. To make it easier for the users, I would like for them to scan and email the pdf version of the document directly to one of my AIX... (3 Replies)
Discussion started by: bbbngowc
3 Replies

10. Shell Programming and Scripting

How to Read mail in a UNIX server?

My unix server is somehow configured to send mail to any id in my network. However, how do I read the mails in my inbox. I can send mails using mailx -s However, when I try to check whether there is mail using mailx -e it shows invalid option. (2 Replies)
Discussion started by: srkmish
2 Replies
msgchk(1mh)															       msgchk(1mh)

Name
       msgchk - check for messages

Syntax
       msgchk [ -help ] [ -nodate ] [ -notify all|mail|nomail ] [ users ...  ]

Description
       The  program checks all known mail drops for mail that is waiting for you.  It displays whether you have mail waiting to be read or not and
       shows the date that you last read your mail.

       You can check other user's maildrops by specifying their user names as the users argument on the command line.

Options
       -help	 Prints a list of the valid options for this command.

       -date
       -nodate	 Prints the date when you last read your mail.	This is the default behavior of The -nodate option can be used of you do not  want
		 to print this date.

       -notify
       -nonotify Indicates  under  what circumstances should produce a message.  There are three legal values: all, mail, and nomail.  The default
		 is -notify all, which reports the status of the maildrop regardless of whether it has mail in it or not.  The -notify mail option
		 reports  the  status of the maildrop only if there is mail waiting.  The -notify nomail option reports the status of the maildrop
		 only if there is no mail in it.

       -source file
		 Specifies the source which are checked for mail.  The only value allowed is file, which is the user's maildrop.  Additional  val-
		 ues are supported only for use with other mail systems.

Restrictions
       does  not  understand the $MAILDROP environmental variable.  If mail is fetched from a location other than will not be able to determine if
       new mail has arrived.  However, can still be used to fetch mail when it arrives.

       For this version, the -source option only supports the value file.  Additional values are supported for use only with other mail systems.

Examples
       This example shows a user Smith checking his own maildrop:
       % msgchk
       Smith:
	  New file source mail waiting ; last read on Tue, 07 Jun 88 17
       :21:49 WET

       The next example shows a user checking the maildrops of two other local users on the same system, Rabb and Jones:
       % msgchk Rabb Jones
       Rabb:
	  No file-source mail waiting ; last read on Tue, 07 Jun 13:22:
       25 WET
       Jones:
	  New file source mail waiting ; last read on Tue, 07 Jun 17:30
       :05 WET

Files
       The user profile.

       The system customization file.

       The user's maildrop.

See Also
       inc(1mh)

																       msgchk(1mh)
All times are GMT -4. The time now is 11:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy