teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

php\.iniの内容を追記します

2017/08/20 12:43

投稿

ozakizuki
ozakizuki

スコア13

title CHANGED
File without changes
body CHANGED
@@ -28,4 +28,25 @@
28
28
  }
29
29
  -----------------
30
30
  質問内容が解りにくいと思いますが、
31
- よろしくお願いいたします。
31
+ よろしくお願いいたします。
32
+
33
+ php.iniの内容を追記します
34
+ [mail function]
35
+ ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
36
+ ; http://php.net/sendmail-path
37
+ sendmail_path = /usr/sbin/sendmail -t -i
38
+ SMTP=localhost
39
+ smtp_port=25
40
+ ; Force the addition of the specified parameters to be passed as extra parameters
41
+ ; to the sendmail binary. These parameters will always replace the value of
42
+ ; the 5th parameter to mail().
43
+ ;mail.force_extra_parameters =
44
+
45
+ ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
46
+ mail.add_x_header = On
47
+
48
+ ; The path to a log file that will log all mail() calls. Log entries include
49
+ ; the full path of the script, line number, To address and headers.
50
+ ;mail.log =
51
+ ; Log mail to syslog (Event Log on Windows).
52
+ ;mail.log = syslog