The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-22-2006
braindrain braindrain is offline
Registered User
  
 

Join Date: Jul 2005
Posts: 67
Mailx via script

Hi,
using mailx,

cat file1 | mailx -v -R somebody@org.com -s 'This is subject message' nobody@org.com

Problem here is the subject of the email gets truncated after the first space, i.e emails are receving with subject "This" instead of "This is subject message"

any idea what is wrong ?

Thnx