Re:Your DI framework is killing your code
by rescripting on Tuesday September 29, 2015 @09:54AM
(#10296270)
Sometimes you're sending via SMTP, sometimes via MailGun. If you don't remember to call GetMailPolicySingleton()->SetSendingMechanism() before every email.send() you end up using whatever policy was set last.
[ Parent
| on HN ]
There are no comments on this comment yet.