Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion system/Email/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -2227,7 +2227,7 @@ protected function mimeTypes($ext = '')

public function __destruct()
{
if ($this->SMTPConnect !== null) {
if (is_resource($this->SMTPConnect)) {
try {
$this->sendCommand('quit');
} catch (ErrorException $e) {
Expand Down
1 change: 1 addition & 0 deletions user_guide_src/source/changelogs/v4.6.3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Bugs Fixed
**********

- **Email:** Fixed a bug with CID check when building email attachments.
- **Email:** Fixed a bug with SMTP connection resource validation in the class destructor.

See the repo's
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_
Expand Down
Loading