{"id":3702,"date":"2014-03-29T08:10:14","date_gmt":"2014-03-29T08:10:14","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/adding-cc-to-mailx-command-using-runtime-exec-closed-collection-of-common-programming-errors\/"},"modified":"2014-03-29T08:10:14","modified_gmt":"2014-03-29T08:10:14","slug":"adding-cc-to-mailx-command-using-runtime-exec-closed-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/adding-cc-to-mailx-command-using-runtime-exec-closed-collection-of-common-programming-errors\/","title":{"rendered":"Adding CC to mailx command using Runtime.exec [closed]-Collection of common programming errors"},"content":{"rendered":"<p>I am new to the AIX environment , and using the mailx command for the first time. I have understood the command inorder to send the email, but I would also like to include the CC email addresses.<\/p>\n<p>I am trying to execute it through Java&#8217;s Runtime.exec My command is as follows<\/p>\n<pre><code>cat EMAIL_BODY|mailx -s MAIL_SUBJ MAIL_TO \n<\/code><\/pre>\n<p>How can I add a CC to this command<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am new to the AIX environment , and using the mailx command for the first time. I have understood the command inorder to send the email, but I would also like to include the CC email addresses. I am trying to execute it through Java&#8217;s Runtime.exec My command is as follows cat EMAIL_BODY|mailx -s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3702","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3702"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3702\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}