check mail


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers check mail
# 1  
Old 10-23-2006
Question check mail

hi

can i know how to view(read) my mail in unix Smilie
# 2  
Old 10-23-2006
use "mail" command
justsam
# 3  
Old 10-23-2006
hi justsam,

i can use mail cmd but it will display the list of mails

so if i want to read the specified mail from the list ?????
# 4  
Old 10-23-2006
Enter the number of the message. The it displays that msg.

If you are interested in watching Message 21, do the following

$mail
<This lists some messages with Subject and the sender name and etc. details>

Now, Type 21 and press enter

The Message 21 will be displayed
justsam
# 5  
Old 10-24-2006
Bug thank u

thanku u sam its working Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Check mail queue

We use Redhat server , we always use mailq to check any pending mail in mailq , when run the command mailq , it shows all existing pending mail would advise how to write a script to show the pending mails which are older than 24 hours , ( if possible , then send this pending mail info to... (9 Replies)
Discussion started by: ust3
9 Replies

2. UNIX for Dummies Questions & Answers

Check file size and mail

Hi, I am trying to write a script which will check if the filesize is grather than 0 KB, compress the file and send to the email list else if the file size is zero KB don't send a mail update the log if then echo "Validate the file" | mailx -s " There are errors : " ${EMAIL_LIST} else... (5 Replies)
Discussion started by: mora
5 Replies

3. Shell Programming and Scripting

Check pending mail in mail queue

I know the command mailq can check the pending mail in mqueue , and also have another command to check POSIX mail queue in server , now I will regularly check the mqueue manually , it is time consuming , would advise the script that could help to check the mail queue , and then send the details to... (3 Replies)
Discussion started by: ust3
3 Replies

4. UNIX for Advanced & Expert Users

mail attachment limit check

I want to check the mail attachement size before sending the mail. I coded: IF FILESIZE > XBYTES THEN MESSAGE "Mail attachment size exceeds limit" ELSE SEND MAIL. But I want to know the quantifier. To get the XBYTES, I used ls -ltr filename | awk '{print $5}' into a variable, now,... (1 Reply)
Discussion started by: harishkumardola
1 Replies

5. Shell Programming and Scripting

Check mail periodically with tcsh

A friend of mine is switching his email from one University server to a different one. He is using the tcsh, and on his current server, the shell will tell him (when the prompt is displayed) if there is new mail. The new server, where he also has the tcsh, does not do this by default. I got him... (0 Replies)
Discussion started by: kermit
0 Replies

6. Shell Programming and Scripting

How to check the mail permissions

Hi - I am trying to send email from unix box but none were delivered. I have tried multiple commands like mailx, mail or sendmail. But none of them worked. can you please let me know how to check if I have the right permissions to send the mail or not? (1 Reply)
Discussion started by: ahmedwaseem2000
1 Replies

7. Shell Programming and Scripting

Check for proper e mail id format

Hi, We run an application called meta which reads user information from database and updates in LDAP.For that we have some scripts to check the uniqueness of mail ids between the existing LDAP and Database.It works fine when people enter mail ids in proper format (xxx.yyy@abc.com) but if it... (2 Replies)
Discussion started by: prolay
2 Replies

8. UNIX for Dummies Questions & Answers

Check incoming mail to sendmail

I'm trying to find a command to check what mail is being sent to my sendmail server... Can't seem to find it... anyone know how to do this? (1 Reply)
Discussion started by: kingdbag
1 Replies

9. Shell Programming and Scripting

Schedule a script to check mail?

Hi, I'd like to somehow schedule a task on my webserver, such that my account's mail is checked every 10-15 minutes and: a) any new e-mails received from a particular address are POST-ed to a PHP webpage on my server. b) any new e-mails received from a different particular address are... (2 Replies)
Discussion started by: stujones
2 Replies

10. Shell Programming and Scripting

how can I check the user's mail quota?

how can I check mail quota, and then how can I send mail to user whose quota get full??? :confused: For this which script must I use? (8 Replies)
Discussion started by: emreatlier
8 Replies
Login or Register to Ask a Question