SmtpMailer backported for Nette 0.9