質問編集履歴
3
test
CHANGED
File without changes
|
test
CHANGED
@@ -128,10 +128,6 @@
|
|
128
128
|
|
129
129
|
return $this
|
130
130
|
|
131
|
-
->from('〇〇@〇〇.sakura.ne.jp')
|
132
|
-
|
133
|
-
->subject('お問い合わせありがとうございます。')
|
134
|
-
|
135
131
|
->view('mail.index')
|
136
132
|
|
137
133
|
->with(['data' => $this->data]);
|
2
test
CHANGED
File without changes
|
test
CHANGED
@@ -144,24 +144,6 @@
|
|
144
144
|
|
145
145
|
|
146
146
|
|
147
|
-
```
|
148
|
-
|
149
|
-
views/mail/index.blade.php
|
150
|
-
|
151
|
-
お問い合わせありがとうございます。
|
152
|
-
|
153
|
-
お名前:{{ $data['name'] }}
|
154
|
-
|
155
|
-
メールアドレス:{{ $data['email'] }}
|
156
|
-
|
157
|
-
お問い合わせ内容:{{ $data['ask'] }}
|
158
|
-
|
159
|
-
メッセージ:{{nl2br($data['message'])}}
|
160
|
-
|
161
|
-
```
|
162
|
-
|
163
|
-
|
164
|
-
|
165
147
|
エラーとしては、
|
166
148
|
|
167
149
|
Connection could not be established with host 〇〇.sakura.ne.jp [Operation timed out #60]
|
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -29,16 +29,6 @@
|
|
29
29
|
MAIL_FROM_NAME=name
|
30
30
|
|
31
31
|
MAIL_FROM_ADDRESS=〇〇@〇〇.sakura.ne.jp
|
32
|
-
|
33
|
-
```
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
```
|
38
|
-
|
39
|
-
routes/web.php
|
40
|
-
|
41
|
-
Route::post('/complete', 'TopController@contact');
|
42
32
|
|
43
33
|
```
|
44
34
|
|