drop (someone) a line to write a short letter to someone or to send a short letter to someone.
If you get a chance, drop me a line when you arrive in Cairo.