Sponsored Content
Operating Systems Linux A simple question about mail command Post 302910691 by Don Cragun on Sunday 27th of July 2014 08:21:34 AM
Old 07-27-2014
Type h or headers when you get to the ? prompt at the end of the message you're reading. If you have a lot of messages in your mailbox, h n will take you to the page of headers containing message number n.
This User Gave Thanks to Don Cragun For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

SImple command question

Does anyone know the command to get the date CREATED for a file? This is driving me berserk. Windows has it. But I cannnnnnot remeber what it is in UNIX! Thanks! (4 Replies)
Discussion started by: Diabeticus
4 Replies

2. UNIX for Dummies Questions & Answers

Ok simple question for simple knowledge...

Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies

3. UNIX for Dummies Questions & Answers

Simple Command (head) Question

Okay, this probably sounds dumb for anyone who knows the answer, but I'm completely lost. I have to use the head command to search a directory AND all of its subdirectories to display the first line of all .txt files. I know how to do this: head -1 ~/UnixCourse/*.txt, but that does not search the... (4 Replies)
Discussion started by: jbud
4 Replies

4. Shell Programming and Scripting

The cut command. Really simple question!

hi, sorry for asking what I am sure is a really easy question, I am wanting to cut the users real name from the output of 'finger'. $ cut -f2-3 filename is in my script but it only seems to cut the first line. I need to cut the 2nd and 3rd word from each line and store them in variables... (1 Reply)
Discussion started by: rorey_breaker
1 Replies

5. UNIX for Dummies Questions & Answers

Question on SCP and Mail command

Hey Guys, I created a script where i am trying to do scp from one machine to another and then from another to another remote machine. I am having a log file also with the current date and time stamp in which i have been successful. I would like to delete the log files older than 30 days in which... (9 Replies)
Discussion started by: chris1234
9 Replies

6. Shell Programming and Scripting

Simple question abt Copy command.

Hi ! All This is very simple question.... How to write a 'cp' command interative. Example : cp /wlsuite/om/cm/Tools/deploy_scripts/*.xml ${INF_ROOT}/tmp | echo "" || echo " Pls investigate ..." My intent was > to copy the files. > CP fails... then let know the user. pls... (2 Replies)
Discussion started by: dashok.83
2 Replies

7. UNIX for Dummies Questions & Answers

Sending a simple mail from command line

Hi, How would one send an email from the command line. Just a simple email. I used mailx -s "test" address@server.domain then hit enter. Nothing happens then, I hit Ctrl + C twice, then I can start a new command again. Any help? Tips? I did read up on this, but the examples is much more... (2 Replies)
Discussion started by: McGuywer
2 Replies

8. Red Hat

Syslog.conf: looking for a simple answer on a simple question

Cheers! In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not? To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies

9. Homework & Coursework Questions

Creating a function that sends a mail using mail command

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: The function will be called m and it will allow you to send an email to someone using the mail command. The... (1 Reply)
Discussion started by: Drucian
1 Replies

10. Homework & Coursework Questions

Simple loop to mail all active users.

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Send a fortune to all active/logged in users 2. Relevant commands, code, scripts, algorithms: So I understand... (8 Replies)
Discussion started by: kjcraig77
8 Replies
CiderWebmail::Model::IMAPClient(3pm)			User Contributed Perl Documentation		      CiderWebmail::Model::IMAPClient(3pm)

NAME
CiderWebmail::Model::IMAPClient - Catalyst Model DESCRIPTION
Interface to the IMAP Server You should *really* read rfc3501 if you want to use this. METHODS
new() creates a new CiderWebmail::Model::IMAPClient _die_on_error($c) die if the last IMAP command sent to the server caused an error this sould be called after every command sent to the imap server. disconnect disconnect from IMAP Server, if connected separator($c) Returnes the folder separator folder_tree($c) Return all folders as hash-tree. folder_sort custom sort for folders always put INBOX on top select($c, { mailbox => $mailbox }) selects a folder message_count($c, { mailbox => $mailbox }) returnes the number of messages in a mailbox unseen_count($c, { mailbox => $mailbox }) returnes the number of unseen messages in a mailbox check_sort($sort) Checks if the given sort criteria is valid. get_folder_uids($c, { mailbox => $mailbox, sort => $sort, range => $range }) Returns a MessageSet object representing all UIDs in a mailbox The range option accepts a range of UIDs (for example 1:100 or 1:*), if you specify a range containing '*' the last (highest UID) message will always be returned. get_headers_hash($c, { uids => [qw/ 1 .. 10 /], sort => [qw/ date /], headers => [qw/ date subject /], mailbox => 'INBOX' }) returnes a array of hashes for messages in a mailbox o uids (arrayref): a list of uids (as described in RFC2060) to fetch o sort (arrayref): sort criteria (as described in RFC2060). for example: [ qw/ date / ] will sort by date, [ qw/ reverse date / ] will sort by reverse date o headers (arrayref, required): a list of mail-headers to fetch. o mailbox (required) search() searches a mailbox returns a arrayref containing a list of UIDs get_headers_string($c, { mailbox => $mailbox, uid => $uid }) returnes the fullheader of a message as a string all_headers($c, { mailbox => $mailbox, uid => $uid }) fetch all headers for a message and updates the local headercache get_headers($c, { mailbox => $mailbox }) fetch headers for a single message from the server or (if available) the local headercache mark_read($c, { mailbox => $mailbox, uid => $uid }) mark a messages as read mark_answered($c, { mailbox => $mailbox, uid => $uid }) mark a message as answered bodypart_as_string($c, { mailbox => $mailbox, uid => $uid, parts => [ $part ] }) fetches body part(s) of a message - part IDs according to the bodystructure of the message get_bodystructure($c, { mailbox => $mailbox, uid => $uid }) fetches bodystructure of a message. returns a Mail::IMAPClient::BodyStructure object - this might change when we parse this into something more usefull message_as_string($c, { mailbox => $mailbox, uid => $uid }) return a full message body as string delete_messages($c, { mailbox => $mailbox, uid => $uid }) delete message(s) form the server and expunge the mailbox append_message($c, { mailbox => $mailbox, message_text => $message_text }) low level method to append an RFC822-formatted message to a mailbox move_message($c, { mailbox => $mailbox, target_mailbox => $target_mailbox, uid => $uid }) Move a message to another mailbox create_mailbox($c, { mailbox => $mailbox, name => $name }) Create a subfolder delete_mailbox($c, { mailbox => $mailbox }) Delete a complete folder AUTHOR
Stefan Seifert and Mathias Reitinger <mathias.reitinger@loop0.org> LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-16 CiderWebmail::Model::IMAPClient(3pm)
All times are GMT -4. The time now is 07:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy