Enviar por SMS: Resonant diffraction radiation and Smith-Purcell effect