質問編集履歴

1

2019/02/23 00:33

投稿

sheep6
sheep6

スコア16

test CHANGED
File without changes
test CHANGED
@@ -52,7 +52,7 @@
52
52
 
53
53
 
54
54
 
55
- //Contact Form 7用 Return-Path設定ここから
55
+ ~~//Contact Form 7用 Return-Path設定ここから
56
56
 
57
57
  add_action(‘phpmailer_init’, function($phpmailer){
58
58
 
@@ -62,9 +62,27 @@
62
62
 
63
63
  });
64
64
 
65
- //Contact Form 7用 Return-Path設定ここまで
65
+ //Contact Form 7用 Return-Path設定ここまで~~
66
66
 
67
67
 
68
+
69
+ コピペしたら「'」が「‘」になってましたので修正します。正しくは下記になります。
70
+
71
+
72
+
73
+
74
+
75
+ //Contact Form 7用 Return-Path設定ここから
76
+
77
+ add_action('phpmailer_init', function($phpmailer){
78
+
79
+ $phpmailer->SMTPKeepAlive = true;
80
+
81
+ $phpmailer->Sender = 'wordpress@xxxx.xxx';
82
+
83
+ });
84
+
85
+ //Contact Form 7用 Return-Path設定ここまで
68
86
 
69
87
 
70
88