Question about the mail command

Sina Bahram sbahram at nc.rr.com
Sat Apr 30 19:02:38 EDT 2005


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







More information about the Speakup mailing list