Re: [siesta-dev] problem with Email::Valid in Siesta::Message

[prev] [thread] [next] [lurker] [Date index for 2002/10/10]

From: Roger Burton West
Subject: Re: [siesta-dev] problem with Email::Valid in Siesta::Message
Date: 09:34 on 10 Oct 2002
On Wed, Oct 09, 2002 at 07:59:58PM -0400, Gavin Estey wrote:
>Siesta::Message just uses whatever Email::Valid->address() returns 
>without checking to see if it is undef, ie the email address wasn't 
>valid. The thing is there isn't really much we can do about an invalid 
>address, we might as well just use it and hope for the best.

...or fail gracefully, which is the other option?

Side note: Is there any reason we don't use Mail::Address directly
instead of Email::Valid (which depends on it)? That _will_ accept an
address of the form that's causing problems, without complaint.

I agree with Gavin that there's no point in testing for an error
condition if we aren't going to handle it.

Roger

Generated at 13:56 on 01 Jul 2004 by mariachi 0.52