Reputation: 2859
Iam using CI-2 default mail class for sending emails. But it is not sending HTML based emails properly.
Can someone tell me good email sending libraries for CI2.
Thanks in advance
Upvotes: 0
Views: 995
Reputation: 116
There is another solution I've found for poor HTML / Email Support.
Open up the Email Class:
System/Libraries/Email.php
Around Line 51 You'll see
var $send_multipart = TRUE;
Set this to FALSE and try again. I find CI's email library to be very good.
Upvotes: 0
Reputation: 15476
gmail and HTML content is a common problem; solutions have been suggested in the official CI forum with references to using Swift Mailer instead.
Upvotes: 0
Reputation: 1484
Try to configure the library to send html emails
$config['mailtype'] = 'html';
$this->email->initialize($config);
Upvotes: 5