Sponsored Content
Top Forums Shell Programming and Scripting Is it possible to get the date and time of mail which we get into our inbox using shell script? Post 302368682 by cfajohnson on Thursday 5th of November 2009 10:31:56 AM
Old 11-05-2009

Use formail, part of the procmail package.

Code:
man formail

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

deleting a mail from inbox in unix

I want to programatically delete a mail from my inbox(preferrably through perl). Is there any unix command for the same or do we have some perl modules which can do this job. (3 Replies)
Discussion started by: xsriniva
3 Replies

2. Shell Programming and Scripting

Execute a part of shell script only after particular date and time

I have created a simple shell script... say test.sh Contents of test.sh ================ service named restart cp /etc/imp.conf /backup/test/ #-- if date > 15 July 2007 11:23 pm , then only issue the commans below, else exit --- cp /etc/secondimp.conf /backup/test/ rm -f... (2 Replies)
Discussion started by: fed.linuxgossip
2 Replies

3. Shell Programming and Scripting

shell script to find latest date and time of the files

Hi everyone, Please help:) I have a list of 1000 different files which comes daily to the directory.Some of the files are not coming to the directory now. I need to write a shell script to find the latest date and time of the files they came to the directory. The files should be unique.... (1 Reply)
Discussion started by: karthicss
1 Replies

4. 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

5. 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

6. Shell Programming and Scripting

Date and Time comparison using shell script

Hi, I'm having two fields in the file F1|F2 20111220|102000 F1 ->YYYYMMDD F2 ->HHMMSS Now, I need to compare this with current date & time and need to return the difference value in hours. Already, I checked with datecalc from the forum. So, need hints from Shell Gurus. Thanks (10 Replies)
Discussion started by: buzzusa
10 Replies

7. Shell Programming and Scripting

How to do simple date (time) calculation in shell script?

Hi, I'm looking for a way to do a simple math calc during a shell script as a means of logging how long a particular task takes. For example... STARTTIME=whenever this script starts ./path/to/command.sh >>logfile.log TOTALTIME=<time at this stage of the script after above command... (7 Replies)
Discussion started by: nbsparks
7 Replies

8. Shell Programming and Scripting

Date / Time difference in shell script

================================================================================ Request ID GMDCOM TIME GMDRRS TIME COM-RRS ================================================================================ <36812974> Tue Oct 1 13:32:40 2013 Tue Oct 1 20:36:42 2013... (1 Reply)
Discussion started by: ghosh_tanmoy
1 Replies

9. Shell Programming and Scripting

Date / Time difference in shell script

Request ID GMDCOMTM GMDRRSTIME GMDRESTIME <36812986> : : :I want to display the date -time difference in other fields. Above I have given for only 1 record. I want to calculate for all the records. (GMCOMTM - GMDRRSTM) ,(GMDRRSTM-GMDRESTM) and... (5 Replies)
Discussion started by: ghosh_tanmoy
5 Replies

10. Shell Programming and Scripting

Date time difference in UNIX shell script

There are 2 dates, Tue Oct 1 13:40:19 2013 Sun Sept 30 10:26:23 2013 I have multiple dates like the above one. How do I calculate the date time difference and display in another column in Shell script. Please help. (3 Replies)
Discussion started by: tanmoysays
3 Replies
WMAIL(1)							   User Commands							  WMAIL(1)

NAME
wmail - watches your inbox SYNOPSIS
wmail [OPTIONS] DESCRIPTION
wmail is a Window Maker docklet watching your inbox, which is either a ordinary mbox or a directory conforming to qmails Maildir format. It provides a nice little GUI displaying some useful pieces of information about your inbox. -display <string> display to use -c, --command <string> command to run on button-click ("xterm -e mail" is default) -i, --intervall <number> number of seconds between mail-status updates (1 is default) -f, --familyname tickers the family-name if available -fps, --frames <number> ticker frames per second -s, --shortname tickers the nickname (all before the '@') -sc, --symbolcolor <string> symbol color-name -fc, --fontcolor <string> ticker-font color-name -bc, --backcolor <string> backlight color-name -oc, --offcolor <string> off-light color-name -bg, --background <string> frame-background for non-shaped window -ns, --noshape make the dockapp non-shaped (combine with -w) -n, --new forces wmail to show new mail exclusively -mb, --mailbox <string> specify another mailbox ($MAIL is default) -e, --execute <string> command to execute when receiving a new mail -sf, --statusfield consider the status-field of the mail header to distinguish unread mails -rs, --readstatus <string> status field content that your client uses to mark read mails -fn, --tickerfont <string> use specified X11 font to draw the ticker -h, --help shows this help text and exit -v, --version shows program version and exit -w, --windowed runs the application in windowed mode ENVIRONMENT
wmail recognizes the following environment variables: $MAIL The location of the inbox you are using NOTES
Other mailing mechanisms like POP or IMAP are not supported. Use a tool like fetchmail to retrieve POP or IMAP based mail. AUTHORS
wmail was written by Sven Geisenhainer. This man page was written by Felipe Augusto van de Wiel. SEE ALSO
fetchmail(1). July 2006 wmail v2.0 (C) 2000~2002 Sven Geisenhainer WMAIL(1)
All times are GMT -4. The time now is 04:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy