in reply to Re^3: Email::Valid, what am I doing wrong here?
in thread Email::Valid, what am I doing wrong here?

The reason why Google can do this, and make this rejection useful, if because Gmail is an interactive application. The spaces in an entered email address are indeed likely a mistake by the user, and he's given a chance to fix it, either way.

But if the address was passed along to a mail server in batch, then it'd better accept it!

  • Comment on Re^4: Email::Valid, what am I doing wrong here?

Replies are listed 'Best First'.
Re^5: Email::Valid, what am I doing wrong here?
by rajivp (Novice) on May 18, 2009 at 03:50 UTC
    Sincere thanks for the wisdom and for your patience with a novice.
Re^5: Email::Valid, what am I doing wrong here?
by ikegami (Patriarch) on May 17, 2009 at 19:05 UTC

    and he's given a chance to fix it, either way.

    Nope. foo @ example.org is misinterpreted as "foo "@example.org.

    Update: Oops, nevermind, that test wasn't done with gmail.