anchor.diff:  		throw "not configured";
   	}
   
  +	public function verifyImap ( imap ) localmode=true{
  +		imap
  +			action="open" 
  +			server = imap.SERVER
  +			username = imap.USERNAME
  +			port = imap.PORT_INSECURE
  +			secure="no"
  +			password = imap.PASSWORD
  +			connection = "testImap";
  +		imap
  +			action = "close",
  +			connection="testImap";
  +			
  +		return "configured";
  +	}
  +
   	public function verifyLDAP ( ldap ) localmode=true {
   		if ( structCount( LDAP ) eq 5 ){
   			systemOutput( ldap, true );
  
positive.code: 							verify = verifyS3Custom(cfg);
  							break;
  						case "imap":
  							break;
  						case "pop":
  							break;
  
negative.code: 			};
  			if ( StructCount(cfg) eq 0 ){
  				systemOutput( "Service [ #arguments.service# ] not configured", true) ;
  				if ( len( request.testServices) gt 0 ){
  					systemOutput( "Requested Test Service [ #arguments.service# ] not available", true);
  					throw "Requested Test Service [ #arguments.service# ] not available";
  				}
  			} else {
  				// validate the cfg
  				verify = "configured, but not tested";
  