CI Email library with Yandex Mail service |
Hi,
I can't get Email library work with Yandex email. I tried several configurations still same result. Email configurations are: PHP Code: $config = Array( Severity: Warning Message: fsockopen(): unable to connect to smtp.yandex.com:25 (Connection timed out) Filename: libraries/Email.php Line Number: 2069 I tried to test with PHPMailer library, PHPMailer is working good, here is PHPMailer library configs: PHP Code: $this->mailer = new PHPMailer(true); (11-12-2018, 01:45 AM)neuron Wrote: This is the error I get: I'd check your firewall settings, depending on your hosting provider (or local machine) outgoing connections may be closed off by default (or permanently, to avoid anyone using the platform for hacking 3rd party systems).
I am waiting for response from hosting company.
I asked this question to understand why same settings work in PHPMailer, but in CI Email library it does not work
Did you try this?
PHP Code: 'smtp_crypto' => 'tls', For phpMailer read this. Send mail with Yandex SMTP Only other thing is like mentioned above, your firewall port may be blocked. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
I tried several combinations also with TLS, still does not work.
PHPMailer is working, problem is in CI built in Email library. same settings for Email library as PHPMailer. I mean if there is issue with CI Email library it should be fixed. For now I will go on with PHPMailer. I talked with hosting company, they said they did some changes, allow SMTP connection. Result is I don't get any errors any more, but still I CI Email library is not working |
Welcome Guest, Not a member yet? Register Sign In |