A PHP Error was encountered Severity: 8192
Message: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated
Filename: libraries/Email.php
Line Number: 1868
Backtrace:
File: /home/abc/public_html/isol/application/controllers/Home.php Line: 261 Function: send
File: /home/abc/public_html/isol/index.php Line: 315 Function: require_once
When ever I send email I get this error . My code is below
$config = Array('mailtype' => 'html');
$this->load->library('email',$config);
$this->email->set_newline("\r\n");
$this->email->from(from_email,site_title);
$this->email->to('[email protected]');
$this->email->subject(site_title.' - Account Registration');
$this->email->message('<p><b>Dear '.$fname.' '.$lname.',</b></p>'.
'<p>Thank You for registration on '.site_title.', Your account is created successfully please login & update your account details.</p>');
$result = $this->email->send();