Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After Sent mails using command-line mail utility:

mail -s subject

If I have misspelled the recipient mail address, or I want to review my old mails which have already been sent, how to do?

share|improve this question

migrated from Nov 27 '09 at 13:18

This question came from our site for system and network administrators.

"How to get back my sent emails" reminds me of – moxn Nov 27 '09 at 10:07
up vote 1 down vote accepted

Your mail program may have the following option:

     record  If defined, gives the pathname of the file used to record all
             outgoing mail.  If not defined, outgoing mail is not saved.
             Default is norecord.

See man mail for more details on how to set the record option.

share|improve this answer

You can't unless the content of the mail is logged elsewhere (say for example, your outgoing mail server is set to record all content of all outgoing mail) which is unlikely unless you yourself (or your program/script if you called mail from such) stored a copy.

The mail program does what it says on the tin and nothing else: it sends the mail and doesn't store it anywhere.

share|improve this answer
What he other words: You're F'K'D! – Grumpy ol' bear Nov 27 '09 at 13:56
...unless you set the record option in your mail program (see my answer). – Greg Hewgill Nov 27 '09 at 18:24

Unless your mail server is logging them, there isn't any way.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .