Judge bars sending of unwanted e-mail