[opensuse] sending ASCII file with mail command (Fedora : OK ; OpenSuse : problem)
Hi all, I try to send an E-mail with the content of an ASCII file as the body. I do this with the following command mail -s subj joukj@hrem.nano.tudelft.nl < licinfo.txt When I give the command on a Fedora (several versions tested) the E-mail is recieved with the expected text in the body. If I give the command on an OpenSuse 10.2 system An E-mail which is unreadable is recieved at the other end. How can I get the same behaviour on the OpenSuse system as on the Fedora system? Jouk Jansen Bush : All votes are equal but some votes are more equal than others.
------------------------------------------------------------------------------<
Jouk Jansen joukj@hrem.nano.tudelft.nl Technische Universiteit Delft tttttttttt uu uu ddddddd Kavli Institute of Nanoscience tttttttttt uu uu dd dd Nationaal centrum voor HREM tt uu uu dd dd Lorentzweg 1 tt uu uu dd dd 2628 CJ Delft tt uu uu dd dd Nederland tt uu uu dd dd tel. 31-15-2782272 tt uuuuuuu ddddddd
------------------------------------------------------------------------------<
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 25 September 2007 09:34, Jacob (=Jouk) Jansen wrote:
Hi all,
I try to send an E-mail with the content of an ASCII file as the body. I do this with the following command mail -s subj joukj@hrem.nano.tudelft.nl < licinfo.txt
When I give the command on a Fedora (several versions tested) the E-mail is recieved with the expected text in the body. If I give the command on an OpenSuse 10.2 system An E-mail which is unreadable is recieved at the other end.
How can I get the same behaviour on the OpenSuse system as on the Fedora system?
Jouk Jansen
man mail says the following. -q file Start the message with the contents of the specified file. May be given in send mode only. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
ka1ifq wrote:
On Tuesday 25 September 2007 09:34, Jacob (=Jouk) Jansen wrote:
Hi all,
I try to send an E-mail with the content of an ASCII file as the body. I do this with the following command mail -s subj joukj@hrem.nano.tudelft.nl < licinfo.txt
When I give the command on a Fedora (several versions tested) the E-mail is recieved with the expected text in the body. If I give the command on an OpenSuse 10.2 system An E-mail which is unreadable is recieved at the other end.
How can I get the same behaviour on the OpenSuse system as on the Fedora system?
Jouk Jansen
man mail says the following.
-q file Start the message with the contents of the specified file. May be given in send mode only.
cat file | mail -s 'some subject' user@address Always worked as well -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sep 25 2007 09:38, David C. Rankin wrote:
I try to send an E-mail with the content of an ASCII file as the body. I do this with the following command mail -s subj joukj@hrem.nano.tudelft.nl < licinfo.txt
cat file | mail -s 'some subject' user@address
Always worked as well
Which is the same as mail -s 'some subject' user@address < file just done overly complex by invoking an extra program named 'cat'... (My instigation to everyone: stop the no-op piping disease!) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----Original Message----- From: Jan Engelhardt [mailto:jengelh@computergmbh.de] Sent: Tuesday, September 25, 2007 9:50 AM To: suse Subject: Re: [opensuse] sending ASCII file with mail command (Fedora : OK ; OpenSuse : problem)
On Sep 25 2007 09:38, David C. Rankin wrote:
I try to send an E-mail with the content of an ASCII file
as the body.
I do this with the following command mail -s subj joukj@hrem.nano.tudelft.nl < licinfo.txt
cat file | mail -s 'some subject' user@address
Always worked as well
Which is the same as
mail -s 'some subject' user@address < file
just done overly complex by invoking an extra program named 'cat'... (My instigation to everyone: stop the no-op piping disease!)
Hmmm. Old dog, new trick, I like it.... David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
David C. Rankin
-
David Rankin
-
Jacob (=Jouk) Jansen
-
Jan Engelhardt
-
ka1ifq