Send emails with Symfony and Mandrill

To send emails, I use Mandrill which is a service by MailChimp. It is a very useful (and powerful) tool which provide you with a smtp server for free until 12k emails / month and a very well designed dashboard.

Price are quite cheap when you need more: http://www.mandrill.com/pricing/

In my Symfony install, I needed to send many emails. So I discovered that a nice bundle exists (isn’t it surprising?). So here is my way to proceed: Continue reading “Send emails with Symfony and Mandrill” »

How to go further after a basic installation of FosUserBundle

In this article, I suppose you have installed FosUserBundle (in composer.json : “friendsofsymfony/user-bundle”: “dev-master”).  I also suppose that your symfony project is working (services enabled, security.yml configured, your bundle extends FOSUserBundle etc.)

Continue reading “How to go further after a basic installation of FosUserBundle” »

Quick reminder for translations with catalogs and Twig

Hi,

I recently had to translate a whole part of my website. Many reasons can conduct you to this need: internationalization, easy access and modification of hard written content, replication of your business in some other sectors etc.

Here are a few tips and structure I use to increase efficiency:

Continue reading “Quick reminder for translations with catalogs and Twig” »

Iptables, the great danger

Hi,

This afternoon I worked on munin (which I won’t document because so many good website exists, GIYF). Nevertheless, iptables is a higher level of difficulty. Why is that? Because you can lock yourself out of your server. No more connection won’t be accepted, the only solution is to restart it in rescue mode… Not fun, can take a long time.

Continue reading “Iptables, the great danger” »