mail
mail copied to clipboard
SmtpMailer: constructor parameter $options changed to public properties
Nice :+1:
Well, what is the benefit? I see it pretty problematic, changing the property doesn't close the old connection.
@hrach you'll get better error if you pass incorrect config options to the smtp, even without using the DIC extension. But good point.
Why we can't use setters for this? :smiley: I'm not big friend of public properties at all, there's also username/password.