Add logging for php scripts connect to remote smtp servers