3 ms·
The validation lib can be improved upon but I just hate the idea of sticking into a controller function (I just move it the model, currently I'm writing a lib t
by jamongkad 19y ago
The validation lib can be improved upon but I just hate the idea of sticking into a controller function (I just move it the model, currently I'm writing a lib that should remedy this). Still I have to agree that allowing callbacks is a nice feature.
Quick question how good is PHPMailer compared to CI's native Email lib? Was planning to use the latter for our company's web app.
- drm237 19y agoCI's email library has 3 modes: PHP Mail, Sendmail, or external SMTP server. In my experience, using Sendmail is very fast if you have a mail server installed on your webserver. I haven't tried PHPMailer because I haven't found CI's mail library to be missing anything that I needed.
- mk 19y agoThe reason why we started using it was we are required to send out HTML email. This sucks I know, but it wasn't an option. I found that CI's email lib had problems with sending out HTML mail with images as attachments and referencing those images in the HTML. Absolute image urls were not an option either.