/* $Id: is_local_part.js,v 1.1 2003/06/11 20:09:15 nstephen Exp $
 *
 * Author:  Graham Cebulskie
 *
 * Compatibility:  Javascript 1.0+
 *
 * is_local_part(x)
 *
 * returns true if x is a valid mailbox name (RFC 822)
 * returns false otherwise
 *
 * not fully implemented, yet.  Just return true if x actually contains something and doesn't contain space
 *
 */

function is_local_part(x) {
  if(x.indexOf(' ') > -1) {
    return false;
  }
  if(x.indexOf('\t') > -1) {
    return false;
  }

  return true;
}

