@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | } |
77 | 77 | |
78 | 78 | $outcome = mail($to, $subject . ' raw mail', $message); |
79 | - echo 'PHP mail sent: ' . (! $outcome ? 'CHECK EMAIL TO VERIFY' : 'NO') . $this->newLine(); |
|
79 | + echo 'PHP mail sent: ' . (!$outcome ? 'CHECK EMAIL TO VERIFY' : 'NO') . $this->newLine(); |
|
80 | 80 | |
81 | 81 | try { |
82 | 82 | $email = new Email($from, $to, $subject . ' silverstripe message', $message); |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | } catch (\Exception $e) { |
85 | 85 | die('<div>Mail send error: <span style="color:red">' . $e->getMessage() . '</span></div>'); |
86 | 86 | } |
87 | - echo 'Silverstripe e-mail sent: ' . (! $outcome ? 'CHECK EMAIL TO VERIFY' : 'NO') . $this->newLine(); |
|
87 | + echo 'Silverstripe e-mail sent: ' . (!$outcome ? 'CHECK EMAIL TO VERIFY' : 'NO') . $this->newLine(); |
|
88 | 88 | } |
89 | 89 | } |
90 | 90 |