![]() |
I've found the solution. There is an error in system/libraries/Email.php in all CodeIgniter 3 versions.
The original snippet code is: PHP Code: /** The solution was: PHP Code: /** And you might ask "why", my answer is because we are running a PHP script code from CLI in remote server. When we try to send an email from localhost the current IP is almost always 127.0.0.1, but from a remote server this snippet code needs to get the public IP address to identify itself in "EHLO" to SMTP data. |
Messages In This Thread |
Sending multiple emails from my smtp-relay avoiding DoS - by rodrigoguariento - 11-16-2022, 06:30 AM
RE: Sending multiple emails from my smtp-relay avoiding DoS - by rodrigoguariento - 01-04-2023, 03:14 AM
RE: Sending multiple emails from my smtp-relay avoiding DoS - by luckmoshy - 01-04-2023, 12:06 PM
RE: Sending multiple emails from my smtp-relay avoiding DoS - by InsiteFX - 01-05-2023, 12:15 AM
|