How to Fix fsockopen(): unable to connect to ssl://smtp.gmail.com:465 CodeIgniter

Assalamualaikum wr wb

Recently, i create a website and have send email feature. When i run on my pc, its work and no error. But, after i deploy to hosting, site give me an error when i send email.
Cara Mengatasi Message: Call to undefined function base_url() Codeigniter
The message error is : fsockopen(): unable to connect to ssl://smtp.gmail.com:465

and this is my config for send email.

How to Fix fsockopen(): unable to connect to ssl://smtp.gmail.com:465 CodeIgniter

How to fix this problem ?

Change your config, like config in below.

How to Fix fsockopen(): unable to connect to ssl://smtp.gmail.com:465 CodeIgniter

from smpt change to ssmtp,
from ssl://smtp.gmail.com change to ssl://ssmtp.googlemail.com
How to Fix requiring unknown module 568 react native
this tutorial is works for me.

Subscribe to receive free email updates:

0 Response to "How to Fix fsockopen(): unable to connect to ssl://smtp.gmail.com:465 CodeIgniter"

Post a Comment

1. Berikan Komentar yang Relevan
2. Tidak Mengandung SARA
3. Berkomentar yang Sopan

Konsultasi Aplikasi