Fix MailConfig fnc