@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | MailFacade::queue('log-envelope::main', $data, function($message) use ($data, $config) { |
37 | 37 | $subject = sprintf('[%s] @ %s: %s', $data['class'], $data['host'], $data['exception']); |
38 | 38 | |
39 | - // to protect from gmail's anchors automatic generation |
|
39 | + // to protect from gmail's anchors automatic generation |
|
40 | 40 | $message->setBody( |
41 | 41 | preg_replace( |
42 | 42 | ['~\.~', '~http~'], |
@@ -45,9 +45,9 @@ discard block |
||
45 | 45 | ) |
46 | 46 | ); |
47 | 47 | |
48 | - $message->to($config['to']) |
|
49 | - ->from($config['from_email'], $config['from_name']) |
|
50 | - ->subject($subject); |
|
48 | + $message->to($config['to']) |
|
49 | + ->from($config['from_email'], $config['from_name']) |
|
50 | + ->subject($subject); |
|
51 | 51 | }); |
52 | 52 | } // end send |
53 | 53 |