How to Attached an Html Document to Email

If you have this kind of error, just check the way you'r calling the email library.

Be sure to add this line.


$config['mailtype'] = 'html';

$this->email->initialize($config);


And it might save you from lots of trouble.

0 Comments

Post a Comment

Post a Comment (0)

Previous Post Next Post
NERV Open Source

Building production Spring Boot systems?

Explore NERV — open-source Java libraries for audit trails, persistence, exception handling, and reliable event-driven architecture.

Explore NERV on GitHub →