Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9407c6b

Browse filesBrowse files
committed
bug #33449 Fix gmail relay (Beno!t POLASZEK)
This PR was merged into the 4.3 branch. Discussion ---------- Fix gmail relay | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #32148 | License | MIT This tiny PR fixes #32148 by removing the emission of a notice which prevented a `TransportException` to be thrown when something wrong occured. Commits ------- 6c90e08 Fix #32148 TransportException was not thrown
2 parents 29355c0 + 6c90e08 commit 9407c6b
Copy full SHA for 9407c6b

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Mailer/Transport/Smtp/Stream/AbstractStream.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mailer/Transport/Smtp/Stream/AbstractStream.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function write(string $bytes): void
3535
$bytesToWrite = \strlen($bytes);
3636
$totalBytesWritten = 0;
3737
while ($totalBytesWritten < $bytesToWrite) {
38-
$bytesWritten = fwrite($this->in, substr($bytes, $totalBytesWritten));
38+
$bytesWritten = @fwrite($this->in, substr($bytes, $totalBytesWritten));
3939
if (false === $bytesWritten || 0 === $bytesWritten) {
4040
throw new TransportException('Unable to write bytes on the wire.');
4141
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.