forked from vtk13/smtp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close connections on unrecoverable errors
- Loading branch information
Rogov Viktor
committed
Mar 2, 2015
1 parent
6893cfe
commit 5dcf395
Showing
2 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,6 @@ public function testErroneousSmtp() | |
$smtp->send('[email protected]', 'qwe', 'Test'); | ||
} catch (Exception $ex) { | ||
// then verify send is successful after exception | ||
$smtp->generateException = false; | ||
$res = $smtp->send('[email protected]', '[email protected]', 'Test'); | ||
$this->assertStringStartsWith('250 ', $res); | ||
|
||
|