Fix call to smtp gateway.