French President Emmanuel Macron and NATO head Mark Rutte have sent text messages to U.S. President Donald Trump.