{"id":1927,"date":"2012-02-19T20:23:58","date_gmt":"2012-02-19T20:23:58","guid":{"rendered":"http:\/\/www.theperfectarts.com\/?p=1927"},"modified":"2018-01-06T16:49:05","modified_gmt":"2018-01-06T16:49:05","slug":"install-mail-command-on-llinux-server","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/install-mail-command-on-llinux-server\/","title":{"rendered":"Install mail command on Linux Server."},"content":{"rendered":"<p>To send an E-mail from the linux server shell, the mailx module is required. We can install the mailx module by using the yum.<\/p>\n<p>Login in to the server as root user and run the following command.<\/p>\n<p><strong>linux7802@server[~]# yum install mailx -y<\/strong><\/p>\n<p>Now try to send an E-mail by using the following syntax.<\/p>\n<p><strong>linux7802@server[~]#mail -vv your_e-mail_address.<\/strong><\/p>\n<p><a href=\"https:\/\/www.ktchost.com\/wordpress-hosting.html\"><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/2016\/09\/footer-2.png\" alt=\"\" border=\"0\" width=\"468\" height=\"60\"  \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>To send an E-mail from the linux server shell, the mailx module is required. We can install the mailx module by using the yum. Login <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/install-mail-command-on-llinux-server\/\" title=\"Install mail command on Linux Server.\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,43,44],"tags":[],"class_list":["post-1927","post","type-post","status-publish","format-standard","hentry","category-centos-server","category-commands","category-linux"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/1927"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=1927"}],"version-history":[{"count":13,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/1927\/revisions"}],"predecessor-version":[{"id":6185,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/1927\/revisions\/6185"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=1927"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=1927"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=1927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}