-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ローカルメール配信確認ツールを追加
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# メール配信テスト | ||
|
||
## mailcatcher | ||
- https://mailcatcher.me/ | ||
- ローカルでメール配信テストをする際にメールサーバの設定をmailcatcherにして、メールの確認を行える | ||
|
||
### インストール | ||
```bash | ||
gem install mailcatcher | ||
``` | ||
|
||
### 起動 | ||
```bash | ||
mailmatcher [--ip 0.0.0.0] [-f] | ||
``` | ||
オプションは任意 | ||
|
||
### メール設定 | ||
メールサーバを `localhost` にして、ポートを `1025` (ユーザー、パスワードはなしでOK) | ||
|
||
### メール確認 | ||
ブラウザで `http://localhost:1080` にアクセス | ||
|
||
※メール設定、メール確認のポートは起動オプションで変更可能 | ||
|