[imp] Pressing Enter key in To/Cc/Bcc results in sending a mail.

Andrew Morgan morgan at orst.edu
Wed Oct 10 16:15:27 UTC 2007


On Wed, 10 Oct 2007, Anant Athavale wrote:

> Dear List:
>
> Looks like the question which I posted was not clear.  I would like to
> clarify on this.
>
> While composing, assume I am yet to attach a file or finish typing the
> message and I decide to add one more address in To field or Cc field
> and if I press enter/return key, the message gets sent immediately,
> which should not happen.  Our users have conveyed this problem and say
> they that, many times they need to resend the mail after adding
> relevant data which they missed due to this problem.
>
> But, I am not sure, whether other users using IMP 4.1 latest stable
> release have experienced this.  If they are not facing this problem, I
> may have configuration problem.  Please let me know your experience.
>
> Regards,
> Anant.

I tested this with IMP v4.1.4 and Firefox.  If I have no recipients 
specified, IMP tosses a warning and won't send the message.  If I have no 
Subject, I get a Javascript popup asking if I want to proceed.  Otherwise, 
the message is sent.

Personally, I don't know if there is a way to prevent the web browser from 
capturing the Enter key and using it to submit the form.  I know that is 
the default behavior with web forms.

 	Andy


More information about the imp mailing list