質問編集履歴

3

修正

2019/11/28 14:01

投稿

SNGin
SNGin

スコア16

test CHANGED
File without changes
test CHANGED
@@ -380,7 +380,7 @@
380
380
 
381
381
  ```
382
382
 
383
- heroku[router]: at=info method=POST path="/users" host=sampllication.herokuapp.com request_id=fef14af2-0c23-4277-a855-a51dcf50da7e fwd="182.158.68.74" dyno=web.1 connect=1ms service=734ms status=302 bytes=973 protocol=https
383
+ heroku[router]: at=info method=POST path="/users" host=samapp.herokuapp.com request_id=fef14af2-0c23-4277-a855-a51dcf50da7e fwd="182.158.68.74" dyno=web.1 connect=1ms service=734ms status=302 bytes=973 protocol=https
384
384
 
385
385
  app[web.1]: UserMailer#account_activation: processed outbound mail in 278.7ms
386
386
 

2

追記

2019/11/28 14:01

投稿

SNGin
SNGin

スコア16

test CHANGED
File without changes
test CHANGED
@@ -376,6 +376,120 @@
376
376
 
377
377
 
378
378
 
379
+ ログは下記です。
380
+
381
+ ```
382
+
383
+ heroku[router]: at=info method=POST path="/users" host=sampllication.herokuapp.com request_id=fef14af2-0c23-4277-a855-a51dcf50da7e fwd="182.158.68.74" dyno=web.1 connect=1ms service=734ms status=302 bytes=973 protocol=https
384
+
385
+ app[web.1]: UserMailer#account_activation: processed outbound mail in 278.7ms
386
+
387
+ app[web.1]: Sent mail to samsam@yahoo.co.jp (10.4ms)
388
+
389
+ app[web.1]: Date: Thu, 28 Nov 2019 13:27:14 +0000
390
+
391
+ app[web.1]: From: noreply@example.com
392
+
393
+ app[web.1]: To: samsam@yahoo.co.jp
394
+
395
+ app[web.1]: Message-ID: <5ddfcb3210d2b_112b1f799df670767d2@c00df1e4-6952-489d-801d-4e7a6566e042.mail>
396
+
397
+ app[web.1]: Subject: Account activation
398
+
399
+ app[web.1]: Mime-Version: 1.0
400
+
401
+ app[web.1]: Content-Type: multipart/alternative;
402
+
403
+ app[web.1]: boundary="--==_mimepart_5ddfcb32ec90_112b1f799df67076617";
404
+
405
+ app[web.1]: charset=UTF-8
406
+
407
+ app[web.1]: Content-Transfer-Encoding: 7bit
408
+
409
+ app[web.1]: ----==_mimepart_5ddfcb32ec90_112b1f799df67076617
410
+
411
+ app[web.1]: Content-Type: text/plain;
412
+
413
+ app[web.1]: charset=UTF-8
414
+
415
+ app[web.1]: Content-Transfer-Encoding: 7bit
416
+
417
+ app[web.1]: Hi Gin,
418
+
419
+ app[web.1]:
420
+
421
+ app[web.1]: Welcome to the Sample App! Click on the link below to activate your account:
422
+
423
+ app[web.1]:
424
+
425
+ app[web.1]: http://localhost:3000/account_activations/f3LX0NuKquvU1qFDhkqjhg/edit?email=samsam%40yahoo.co.jp
426
+
427
+ app[web.1]:
428
+
429
+ app[web.1]:
430
+
431
+ app[web.1]: ----==_mimepart_5ddfcb32ec90_112b1f799df67076617
432
+
433
+ app[web.1]: Content-Type: text/html;
434
+
435
+ app[web.1]: charset=UTF-8
436
+
437
+ app[web.1]: Content-Transfer-Encoding: 7bit
438
+
439
+ app[web.1]:
440
+
441
+ app[web.1]: <!DOCTYPE html>
442
+
443
+ app[web.1]: <html>
444
+
445
+ app[web.1]: <head>
446
+
447
+ app[web.1]: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
448
+
449
+ app[web.1]: <style>
450
+
451
+ app[web.1]: /* Email styles need to be inline */
452
+
453
+ app[web.1]: </style>
454
+
455
+ app[web.1]: </head>
456
+
457
+ app[web.1]:
458
+
459
+ app[web.1]: <body>
460
+
461
+ app[web.1]: <h1>Sample App</h1>
462
+
463
+ app[web.1]:
464
+
465
+ app[web.1]: <p>Hi Gin,</p>
466
+
467
+ app[web.1]:
468
+
469
+ app[web.1]: <p>
470
+
471
+ app[web.1]: Welcome to the Sample App!Click on the link below to activate your account:
472
+
473
+ app[web.1]: </p>
474
+
475
+ app[web.1]:
476
+
477
+ app[web.1]: <a href="http://localhost:3000/account_activations/f3LX0NuKquvU1qFDhkqjhg/edit?email=samsam%40yahoo.co.jp">Activate</a>
478
+
479
+ app[web.1]:
480
+
481
+ app[web.1]: </body>
482
+
483
+ app[web.1]: </html>
484
+
485
+ app[web.1]:
486
+
487
+ app[web.1]: ----==_mimepart_5ddfcb32ec90_112b1f799df67076617--
488
+
489
+ ```
490
+
491
+
492
+
379
493
  現状はこのような感じです。
380
494
 
381
495
 

1

追記

2019/11/28 13:35

投稿

SNGin
SNGin

スコア16

test CHANGED
File without changes
test CHANGED
@@ -4,6 +4,10 @@
4
4
 
5
5
 
6
6
 
7
+ ユーザーがsign upした時に送られるメールです。
8
+
9
+
10
+
7
11
  ```
8
12
 
9
13
  docker-compose.yml