fix swiftmail sendmail issue (with no returning error code and message), adjust mail_params config to match array format