add a program of sending mail regardless of mail typew