[dev] Bug 509, part 2
Rich Lafferty
rich@horde.org
Wed, 25 Oct 2000 10:08:05 -0400
On Wed, Oct 25, 2000 at 06:51:41AM -0500, Brent J. Nordquist (bjn@horde.org) wrote:
> OK, I've committed part 1 (to display the error message).
>
> On part 2, I do think he has a point about people putting the full name in
> the from box; I know it has happened here on occasion.
As an example, we have a problem here with people putting what they
*want* their email address to be, in the from box. It really is a case
of user education, I think, but...
> The regex as specified is inelegant, and he agrees it won't work for all
> cases. What if we invert the sense of it, and display an error if the
> field contains a bad character (space, comma, etc.) as we do in other
> places?
This seems to work -- might also require an @.
-Rich
--
------------------------------ Rich Lafferty ---------------------------
Sysadmin/Programmer, Instructional and Information Technology Services
Concordia University, Montreal, QC (514) 848-7625
------------------------- rich@alcor.concordia.ca ----------------------