Envoyer par SMS: The Gross-Zagier formula on Shimura curves