Skip to content

Commit

Permalink
Removed fwrite in mail/smtp library as per MB
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed Dec 9, 2024
1 parent a3f6e23 commit 67fcd66
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions upload/system/library/mail/smtp.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,10 @@ public function send(): bool {
}
}

fwrite($handle, '.' . "\r\n");
fwrite($handle, data: '.' . "\r\n");

$this->handleReply($handle, 250, 'Error: DATA not accepted from server!');

fwrite($handle, 'QUIT' . "\r\n");

$this->handleReply($handle, 221, 'Error: QUIT not accepted from server!');

fclose($handle);

return true;
Expand Down

0 comments on commit 67fcd66

Please sign in to comment.