title: Execute Shell Command for sending mail from PL/SQL
body: <p>We are forced to use mailx command from PL/SQL for sending mail.
  Actually I have the generic script with me, but I am not sure how to execute directly in the PL/SQL code.</p>
  
  <p>The code we have is </p>
  
  <pre><code>(echo "$mailbody" uuencode $ZIP_FILE $ZIP_FILE) | mailx -m -s "subject" -r " " "$mail_to_address"
  </code></pre>