Welcome Guest, Not a member yet? Register   Sign In
Email library with inline images
#1

[eluser]Unknown[/eluser]
Greetings!

I am a programmer at a hungarian company named Dicentra.
We are using Codeigniter for our websites, since it is very effective and useful for any kind of websites.

Recently we've got a request from one of our customers, he wanted to send html emails with inline images.
We searched in the codebase and found several workaround, and a note, that Codeigniter directly not supports inline images, the 'inline' parameter on the attachment function is ignored at this time.

So, since Codeigniter can be extended very easily, we implemented the inline attachment handling to the 'Email class'.
We tested some, it worked, so we thought we should give it back to the Codeigniter developers and the community. Smile

Here it is: http://dicentra.hu/Email.php.zip
We did not hurt any functional part of the library, just put a misc function, and some plus code at the inline handling.
The modified code parts are marked with these marks in comment: '<MODIFIED></MODIFIED>'.

Thanks for this really great system guys. Smile Cheers!

P.S.: If we got this wrong, and inline images are already supported by the core libraires, then sorry.




Theme © iAndrew 2016 - Forum software by © MyBB