Skip to content

Instantly share code, notes, and snippets.

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