I am send an Email in CodeIgniter Email library with GOOGLE SMPT from my subdomain with following configuration.
$this->load->library('email');
$config['protocol'] = 'SMTP';
$config['smtp_host'] = 'ssl://smtp.googlemail.com';
$config['smtp_crypto'] = 'ssl';
$config['smtp_user'] = '[email protected]';
$config['smtp_pass'] = 'passowrd';
$config['smtp_port'] = '587';
$config['mailtype'] = 'html';
$config['newline'] = '"rn"';
$this->email->initialize($config);
$this->email->from('[email protected]', 'Smarty');
$this->email->to('[email protected]');
$sub=addslashes('Order Placed');
eval("$subject= "$sub";");
$this->email->subject($subject);
$data['data'] = $somedata;
$this->email->message(render_emailview('email',$data));
$bool=$this->email->send();
When i send an Email i received following message in inbox.
But when i send plain text email then it works.
Can any one tell me is there any configuration required to send email?
