title: use content of a file as subject with mailx in informatica PC
body: <p>I am using a mailx command in informatica powercenter command task. Requirement is to use the content of a file that gets generated with every workflow run, as subject of the email. Issue is subject is a sentence and my command captures only the first word in that sentence stopping at the space. How to overcome this? Is there an alternate way to achieve this? </p>
  
  <p>Sample content of the subject file that gets generated is something like this:
  testSub="Today is Saturday"</p>
  
  <p>command used in the command task:</p>
  
  <p>. /Targetdirectory/subject.txt; cat /Targetdirectory/Filename.txt |mailx -s $testsub xxx.zzz@gmail.com </p>
  
  <p>When I receive the email, subject shows up as "Today"</p>
  
  <p>Thanks</p>