@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | // Fix BCC header because PHPMailer does not send to us |
27 | 27 | foreach ((array)$envelope->getBCC() as $bccEmail) { |
28 | - $message = 'Bcc: ' . $bccEmail . "\n" . $message; |
|
28 | + $message = 'Bcc: '.$bccEmail."\n".$message; |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | $domainName = $this->connection->getServer(); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | |
46 | 46 | $resultJson = json_decode($result, true); |
47 | 47 | if (!isset($resultJson['id'])) { |
48 | - throw new MailApiException('Mailgun: ' . $resultJson['message']); |
|
48 | + throw new MailApiException('Mailgun: '.$resultJson['message']); |
|
49 | 49 | } |
50 | 50 | |
51 | 51 | return true; |
@@ -74,7 +74,7 @@ |
||
74 | 74 | } else { |
75 | 75 | $resultJson = json_decode($result, true); |
76 | 76 | if ($resultJson[0]['status'] == 'error') { |
77 | - throw new MailApiException('Mandrill: ' . $resultJson[0]['message']); |
|
77 | + throw new MailApiException('Mandrill: '.$resultJson[0]['message']); |
|
78 | 78 | } |
79 | 79 | } |
80 | 80 |