Last active
August 13, 2018 18:51
-
-
Save yasuken1990/b3088da9e0222466af7ac18112229525 to your computer and use it in GitHub Desktop.
WordPress パスワード忘れたけどメールが送信できない対応 ref: https://qiita.com/yasuken/items/f027b188d56b4b0410b5
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
メールを送信できませんでした。 | |
ホスティングサービス上で mail() 関数が無効になっている可能性があります。 |
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
// sendmailが起動中か | |
$ sudo ps aux | grep sendmail | |
// sendmailを停止する | |
$ sudo service sendmail | |
// 停止したか確認 | |
$ sudo ps aux | grep sendmail | |
// 停止していない場合 | |
$ sudo pkill sendmail |
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
// postfix インストール | |
$ sudo apt install postfix | |
// postfix 起動 | |
$ systemctl start postfix | |
// postfix 起動確認 | |
$ ps aux | grep postfix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment