codeigniter4 / CodeIgniter4

Open Source PHP Framework (originally from EllisLab)
https://codeigniter.com/
MIT License
5.39k stars 1.9k forks source link

Bug: Email class may not log an error when it fails to send #6350

Closed kenjis closed 2 years ago

kenjis commented 2 years ago

CodeIgniter4 Version: 4.2.2

See https://github.com/codeigniter4/shield/issues/330#issuecomment-1206366593 and https://github.com/codeigniter4/shield/pull/345

ddevsr commented 2 years ago

In my environtment windows successfull send with smtp gmail (port 465 & ssl), But in linux server fail (tls://smtp.google.com Unreachable network).

kenjis commented 2 years ago

This issue is about error logging.

Unreachable network is the problem of the network, not in the framework.