<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MailCatcher &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/mailcatcher/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Wed, 28 Oct 2020 09:03:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>MailCatcher &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Install MailCatcher on CentOS</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-mailcatcher-on-centos/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-mailcatcher-on-centos/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 27 Oct 2020 10:39:57 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2473</guid>

					<description><![CDATA[MailCatcher is a special tool that helps developers to provide verification of emails sent by their attachments without having to wait for the email provider mail. It intercepts all emails and stores them for display. Supported as HTML and text messages. Installation First, you need to update the entire list [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="has-background has-pale-pink-background-color"><a href="https://mailcatcher.me/"><strong>MailCatcher</strong></a> is a special tool that helps developers to provide verification of emails sent by their attachments without having to wait for the email provider mail. It intercepts all emails and stores them for display. Supported as HTML and text messages.</p>



<h2 id="installation" >Installation</h2>



<p>First, you need to update the entire list of yum repositories and then install the <strong>gcc</strong> and<strong> g ++ </strong>compilers and MailCatcher dependencies (<strong>Ruby and SQlite</strong>)</p>



<pre class="wp-block-code"><code>sudo yum update
sudo yum -y install gcc gcc-c++
sudo yum -y install sqlite-devel ruby-devel</code></pre>



<h3 id="install-mailcatcher" >Install MailCatcher</h3>



<pre class="wp-block-code"><code>&lt;sudo gem install mailcatcher></code></pre>



<h2 id="launching-mailcatcher" >Launching MailCatcher</h2>



<p>After installation, you can run mailcatcher &#8211;help to see what options are available. After that, start MailCatcher by running its mailcatcher &#8211;ip [your-vultr-ip-address] on your terminal.<br>
Your result should look something like this:</p>



<pre class="wp-block-code"><code>root@install:~# mailcatcher --ip [your-vultr-ip-address]
Starting MailCatcher
==> smtp://[your-vultr-ip-address]:1025
==> http://[your-vultr-ip-address]:1080
*** MailCatcher runs as a daemon by default. Go to the web interface to quit</code></pre>



<p>Search for <strong><em>http://[your-vultr-ip-address]:1080</em></strong> and you will then see the <strong>MailCatcher</strong> interface. Configure your application to use the <strong>SMTP</strong> host of your Vultr IP and port <strong>1025 </strong>and send some test emails. These emails will appear in the <strong>MailCatcher</strong> web interface.</p>



<blockquote class="wp-block-quote is-style-large"><p><strong>IMPORTANT!</strong></p></blockquote>



<p>If you don&#8217;t see the MailCatcher web interface, you might have to open port 1080 and enable the &#8220;http service&#8221; on your CentOS firewall.</p>



<p>Run the commands below and then try <strong>http://[your-vultr-ip-address]:1080</strong> to access it again through your web browser</p>



<pre class="wp-block-code"><code>sudo firewall-cmd --zone=public --add-port=1080/tcp --permanent
sudo firewall-cmd --zone=public --add-service=http --permanent
sudo firewall-cmd --reload</code></pre>



<p><strong>MailCatcher</strong> can really simplify your development and testing workflow as it saves the email provider from intercepting and viewing emails. Try using it for the next application.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-mailcatcher-on-centos/feed/</wfw:commentRss>
			<slash:comments>463</slash:comments>
		
		
			</item>
	</channel>
</rss>
