I have tried to send mail from command line:
echo "hello world" | mail myname@somewhere.com
all works.
But when I try add subject like:
echo "hello world" | mail -s "some subject" myname@somewhere.com
all hang.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Works OK for me on : SunOS host 5.8 Generic_117350-61 sun4u sparc SUNW,Sun-Fire-V440
EDIT : Just a thought, have you closed all of your quoted strings?