Implement CentOS7 Mail Catcher
Purpose
–Summary of how to implement MailCatcher.
Implementation environment
–Hardware environment
item | information |
---|---|
OS | CentOS 7 (7.8.2003) |
hardware | Dell Studio 1537 |
Processor | Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz |
memory | 4 GB DDR3 |
Graphics | unknown |
Prerequisites
–The CentOS 7 PC must be built by the method below or according to the method below.
-Install Cent0S7 on your PC
Prerequisite information
–Unless otherwise specified, the command to be executed in this explanation shall be executed by making an ssh connection to the CentOS 7 PC.
Feeling after reading
–You can start MailCatcher and check it from your browser.
Overview
- Install Ruby
- Installation of used packages
- Install and launch MailCatcher
- Confirmation
Details
- Install Ruby
-
Execute the following command to install Ruby.
```terminal $ sudo yum install ruby ```
- Installation of used packages
-
Execute the following command to install ruby-devel.
```terminal $ sudo yum install ruby-devel ```
-
Execute the following command to install gcc -c ++.
```terminal $ sudo yum install gcc-c++ ```
-
Execute the following command to install sqlite-devel.
```terminal $ sudo yum install sqlite-devel ```
- Install and launch MailCatcher
-
Execute the following command to install MailCatcher.
```terminal $ sudo gem install mailcatcher ```
-
Execute the following command to start MailCatcher.
```terminal $ mailcatcher ```
- Confirmation
- Access the following with a browser.
- http://127.0.0.1:1080 -
Confirm that the following page is displayed.
References
-Send test email using MailCatcher with Laravel
-MailCatcher Official
-Email sending test using MAILCATCHER