Welcome Guest, Not a member yet? Register   Sign In
Adding Specific Configuration in CodeIgniter Email Class
#1
Question 

I'm trying to send an email in my localhost and i use codeigniter's email class function but i always encountered SSL Handshake error,so now i try PHP mailer , so now i cannot still sent email from my local computer , then i found out that in PHPmailer settings, i should add this configuration :

PHP Code:
$mail->SMTPOptions  array(
 
  'ssl' => array(
 
    'verify_peer' => false,
 
    'verify_peer_name' => false,
 
    'allow_self_signed' => true
    
)
 ); 

Now i can send email from my computer, but i would prefer to use codeigniter's email library because i dont want additional class or scripts to download

So my question , how do i add that configuration to codeigniter's email class ?

PHP Code:
array(
 
  'ssl' => array(
 
    'verify_peer' => false,
 
    'verify_peer_name' => false,
 
    'allow_self_signed' => true
    
)
 ); 
Just a random guy from Internet
Reply


Messages In This Thread
Adding Specific Configuration in CodeIgniter Email Class - by Kel_Novi - 12-17-2017, 02:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB