Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, When I use the mail command , I want to add the text which is taken by the user into the body of the mail command.What should I do? ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    6

    Using mail command


    Hi,

    When I use the mail command , I want to add the text which is taken by the user into the body of the mail command.What should I do?

    thanks for your patience

  2. #2
    Linux Enthusiast
    Join Date
    Jan 2005
    Posts
    575
    I don't think that the body of the message can be given as argument
    to mail but it can be read from a file like this: mail user < file

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •