Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
{"id":2495,"date":"2019-12-06T00:36:42","date_gmt":"2019-12-06T00:36:42","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2495"},"modified":"2019-12-11T00:38:07","modified_gmt":"2019-12-11T00:38:07","slug":"install-mailcatcher-on-ubuntu-14","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/install-mailcatcher-on-ubuntu-14\/","title":{"rendered":"Install MailCatcher On Ubuntu 14"},"content":{"rendered":"

Introduction<\/strong><\/h3>\n

MailCatcher<\/strong>\u00a0is a tool that provides an easy way for developers to inspect emails that their applications send out without having to wait for an email provider. It catches all emails that it receives, and stores them for display.\u00a0Both HTML and plain<\/strong>\u00a0text messages are supported.<\/p>\n

Installation<\/strong><\/h3>\n

First\u00a0update apt’s repository list<\/strong>, then install build-essentials (for the\u00a0make<\/code>\u00a0command), and\u00a0MailCatcher’s dependencies<\/strong>\u00a0(Ruby and SQLite)<\/strong>.<\/p>\n

sudo apt-get update\r\nsudo apt-get install -y build-essential software-properties-common\r\nsudo apt-get install -y libsqlite3-dev ruby1.9.1-dev\r\n<\/code><\/pre>\n

Install MailCatcher.<\/strong><\/p>\n

sudo gem install mailcatcher\r\n<\/code><\/pre>\n

Running MailCatcher<\/strong><\/h3>\n

Once\u00a0installed<\/strong>, you can run\u00a0mailcatcher --help<\/code>\u00a0to see what options are available.<\/p>\n

Start\u00a0MailCatcher<\/strong>\u00a0by running\u00a0mailcatcher --ip [your-aklwebhost-ip-address]<\/code>\u00a0on your terminal.\u00a0Your output should look similar to the following:<\/strong><\/p>\n

root@install:~# mailcatcher --ip [your-aklwebhost-ip-address]\r\nStarting MailCatcher\r\n==> smtp:\/\/[your-aklwebhost-ip-address]:1025\r\n==> http:\/\/[your-aklwebhost-ip-address]:1080\r\n*** MailCatcher runs as a daemon by default. Go to the web interface to quit.\r\n<\/code><\/pre>\n

Browse to\u00a0http:\/\/[your-aklwebhost-ip-address]:1080<\/code>\u00a0and you’ll see\u00a0MailCatcher’s web interface<\/strong>. Configure your application to use an SMTP host of your\u00a0Aklwebhost\u00a0IP Address<\/strong><\/span>, and port\u00a01025<\/strong>\u00a0and send out some test emails. These emails will appear on MailCatcher’s web interface.<\/p>\n

Conclusion<\/strong><\/h3>\n

MailCatcher<\/strong>\u00a0can really ease up the development and testing workflow, as it takes out the need for a mail provider to catch and view emails. Consider trying it for your next application.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[244,247],"manual_kb_tag":[316],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2495"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=2495"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2495\/revisions"}],"predecessor-version":[{"id":2496,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2495\/revisions\/2496"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2495"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2495"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}