-
-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REF] Upgrade Net_SMTP Package and remove now unneded patches and mov…
…e to using composer patches rather than patching in a script file
- Loading branch information
1 parent
11836db
commit a6a0ff1
Showing
7 changed files
with
30 additions
and
94 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
16 changes: 7 additions & 9 deletions
16
...ripts/composer/patches/net-smtp-patch.txt → ...pts/composer/patches/net-smtp-patch.patch
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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
--- SMTP.php 2017-01-15 05:19:55.000000000 +1100 | ||
+++ SMTP.php.new 2017-05-20 09:01:52.832373840 +1000 | ||
@@ -368,8 +368,10 @@ | ||
--- Net/SMTP.php 2019-12-01 10:40:31.000000000 +1100 | ||
+++ Net/SMTP.php 2020-02-08 14:36:53.758318869 +1100 | ||
@@ -376,7 +376,9 @@ | ||
return true; | ||
} | ||
|
||
- return PEAR::raiseError('Invalid response code received from server', | ||
- $this->_code, PEAR_ERROR_RETURN); | ||
|
||
- return PEAR::raiseError('Invalid response code received from server', $this->code); | ||
+ // CRM-8744 | ||
+ $errorMessage = 'Invalid response code received from SMTP server while sending email. This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP).'; | ||
+ return PEAR::raiseError($errorMessage, $this->_code, PEAR_ERROR_RETURN); | ||
+ | ||
+ return PEAR::raiseError($errorMessage, $this->code, PEAR_ERROR_RETURN); | ||
} | ||
|
||
/** |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.