質問編集履歴

2

sendmail.iniのソースコードを追加

2021/12/22 07:44

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,11 @@
22
22
 
23
23
 
24
24
 
25
- ```PHPMailer
25
+ ```PHP
26
+
27
+ //mail.php
28
+
29
+
26
30
 
27
31
  <?php
28
32
 
@@ -126,15 +130,15 @@
126
130
 
127
131
  }
128
132
 
129
-
130
-
131
133
  ```
132
134
 
133
135
 
134
136
 
135
-
137
+ ```PHP
136
-
138
+
137
- ```sendmail.ini
139
+ //sendmail.ini
140
+
141
+
138
142
 
139
143
  ; configuration for fake sendmail
140
144
 

1

sendmail.iniのソースコードを追加

2021/12/22 07:44

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
 
24
24
 
25
- ```ここに言語名を入力
25
+ ```PHPMailer
26
26
 
27
27
  <?php
28
28
 
@@ -132,6 +132,158 @@
132
132
 
133
133
 
134
134
 
135
+
136
+
137
+ ```sendmail.ini
138
+
139
+ ; configuration for fake sendmail
140
+
141
+
142
+
143
+ ; if this file doesn't exist, sendmail.exe will look for the settings in
144
+
145
+ ; the registry, under HKLM\Software\Sendmail
146
+
147
+
148
+
149
+ [sendmail]
150
+
151
+
152
+
153
+ ; you must change mail.mydomain.com to your smtp server,
154
+
155
+ ; or to IIS's "pickup" directory. (generally C:\Inetpub\mailroot\Pickup)
156
+
157
+ ; emails delivered via IIS's pickup directory cause sendmail to
158
+
159
+ ; run quicker, but you won't get error messages back to the calling
160
+
161
+ ; application.
162
+
163
+
164
+
165
+ smtp_server=mail.mydomain.com
166
+
167
+
168
+
169
+ ; smtp port (normally 25)
170
+
171
+
172
+
173
+ smtp_port=25
174
+
175
+
176
+
177
+ ; SMTPS (SSL) support
178
+
179
+ ; auto = use SSL for port 465, otherwise try to use TLS
180
+
181
+ ; ssl = alway use SSL
182
+
183
+ ; tls = always use TLS
184
+
185
+ ; none = never try to use SSL
186
+
187
+
188
+
189
+ smtp_ssl=auto
190
+
191
+
192
+
193
+ ; the default domain for this server will be read from the registry
194
+
195
+ ; this will be appended to email addresses when one isn't provided
196
+
197
+ ; if you want to override the value in the registry, uncomment and modify
198
+
199
+
200
+
201
+ ;default_domain=mydomain.com
202
+
203
+
204
+
205
+ ; log smtp errors to error.log (defaults to same directory as sendmail.exe)
206
+
207
+ ; uncomment to enable logging
208
+
209
+
210
+
211
+ error_logfile=error.log
212
+
213
+
214
+
215
+ ; create debug log as debug.log (defaults to same directory as sendmail.exe)
216
+
217
+ ; uncomment to enable debugging
218
+
219
+
220
+
221
+ ;debug_logfile=debug.log
222
+
223
+
224
+
225
+ ; if your smtp server requires authentication, modify the following two lines
226
+
227
+
228
+
229
+ auth_username=
230
+
231
+ auth_password=
232
+
233
+
234
+
235
+ ; if your smtp server uses pop3 before smtp authentication, modify the
236
+
237
+ ; following three lines. do not enable unless it is required.
238
+
239
+
240
+
241
+ pop3_server=
242
+
243
+ pop3_username=
244
+
245
+ pop3_password=
246
+
247
+
248
+
249
+ ; force the sender to always be the following email address
250
+
251
+ ; this will only affect the "MAIL FROM" command, it won't modify
252
+
253
+ ; the "From: " header of the message content
254
+
255
+
256
+
257
+ force_sender=
258
+
259
+
260
+
261
+ ; force the sender to always be the following email address
262
+
263
+ ; this will only affect the "RCTP TO" command, it won't modify
264
+
265
+ ; the "To: " header of the message content
266
+
267
+
268
+
269
+ force_recipient=
270
+
271
+
272
+
273
+ ; sendmail will use your hostname and your default_domain in the ehlo/helo
274
+
275
+ ; smtp greeting. you can manually set the ehlo/helo name if required
276
+
277
+
278
+
279
+ hostname=
280
+
281
+ ```
282
+
283
+
284
+
285
+
286
+
135
287
  ### 試したこと
136
288
 
137
289