Mailgun & CI / PHP

Go To StackoverFlow.com

0

Looking at Mailgun as a good solution for sending HTML email to a large number of recipients

How would this be implemented with CI?

2012-04-05 01:45
by Quadrant6
Please try to find out by yourself first. If you cannot figure out how something works, ask here - Mischa 2012-04-05 01:55


3

I would use MailGun's SMTP delivery with the standard Codeigniter Email library configured for SMTP.

I did something similar with SendGrid recently . Worked a treat with Sendgrid, didn't have to worry about anything apart from authentication to their smtp server. Sendgrid handled the quantity without any problem (though it was way less recipients - about 1k).

2012-04-05 01:55
by Ben
Right, thanks for pointing that out! a much easier approach. I would just set the SMTP settings in the CI email config file and then be able to use the CI Email library like usual. Sweet - Quadrant6 2012-04-05 02:16
Good luck.. and Test Test Test before you send - Ben 2012-04-05 04:02
Ads