Wed 16Jul2008

Mail me to the moon

Posted by spite on 2008-07-16

We were having some unknown problems with the mailing system: some mails took several hours to be delivered -if delivered at all-, some bounced right as they were sent.

Considering the first implementation of the mailing system, there are lots of room for improvement.

So we've refactored the whole mailing system, so we can log failed mails and re-send them from the administration console.

Just for the record, the examples on using the mail() function are far from RFC-compliant, so you may want to double-check your code before starting your social-enabled web site. Just a heads up: don't use the to argument and the "to:" parameter in the headers, because some mail servers will seraiously understand that you pretend to send the mail twice.

Clasificado como: technical stuff, development, mail