Re: Checking addresses in the composition window



Sounds great!

> Balsa uses a rudimentary test to decide when a message is ready to
> send, and activates/deactivates various toolbar buttons accordingly.
> Only the `From:' and `To:' entries are checked. This patch introduces a
>  test based on parsing all of the address entries (`Cc:' and `Bcc:', in
>  addition to `From:' and `To:'), and verifies that there's exactly one
> `From' address, at least one `To:' address, and that if `Cc:' or `Bcc:'
>  addresses are entered, they parse into at least one address. (BTW, RFC
>  2822 permits more than one `From:' address--should Balsa?)
>
> Perhaps more controversially, the patch also gives some visual feedback
>  about which fields are invalid, by coloring the label (`From:', etc.).
>  The color for an invalid field is a user preference, defaulting to
> dark  red. Feature bloat? Perhaps--but IMHO feedback is useful, so that
> I  don't sit there clicking a greyed-out `Send this message' button,
> with  no indication as to why it won't work.
>
> Comments, suggestions, or improvements?
>
> Peter






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]