fix #4545
Mailer config fix