Envoyer par SMS: Cosmology with photometric redshifts