Question about the mail command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I have a quick question about mail.

If I do something along the lines of

mail -s "my subject" myRecipient at theirDomain.com

And then I hit enter ... It will allow me to type the message

I can send it by typing a period on its own line.

I can also redirect a file like so:

mail -s "my subject" myRecipient at theirDomain.com < letter.txt

However, I can see that period when I receive the message ... How can I get
rid of it?

So, what I'm doing is basically programmatically sending mail to people
based on their web form responses. I can create a letter file if I need to,
and have the last line contain a period, but since linux embodies the word
customizeable, there's got to be a way to keep that period from showing up.

Any ideas folks?

Take care,
Sina







[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux