• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Send SMTP Mail Via SSL on PHP 7 Environment

I want to send mail by codeigniter Email Library.

Everything works well on PHP 5.4.24 configuration but when i want to migrate to PHP 7 , a lot of SSL certificate problems occurs.

I don't want to install certificate to my machine, only want to send a simple email.

It seems, in 5.4.24, verify_peer is false by default but after php 5.6 verify_peer is TRUE.

And so; how can i set verify_peer to false for Codeigniter Email initialization.
I'm a person from Turkiye. I don't know English very well and i can't write what i want to say sometimes (as now happenes  Blush ).

If i write something by mistake; please don't distress it and try to understand what i want to write.

Use your own internet providers SMTP that you get your emails from.

I have comcast and I use their SMTP. Set it up to use in php.ini
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.