package org.ibex.mail;
import org.ibex.crypto.*;
import org.ibex.mail.protocol.*;
-import org.ibex.jinetd.Listener;
import org.ibex.util.*;
import org.ibex.net.*;
import org.ibex.js.*;
public int[] search(Query q, boolean uid) { return null; }
public void fetch(Query q, int spec, String[] headers, int start, int end, boolean uid) {
- if (captchaMessage != null) { client.fetch(1, 0, 100, captchaMessage, 100); return; }
+ if (captchaMessage != null) { client.fetchResponse(1, 0, 100, captchaMessage, 100); return; }
for(int i=0; i<summaries.length; i++) try {
final Message m = summaries[i].getMessage();
final int num = i;
Message captchaMessage = null;
public void doCaptcha(String result) throws IOException {
+ /*
Log.warn(GMail.class,"no relocator found; checking for captcha");
ctoken = result.substring(result.indexOf("id=\"ctoken\" value=\"") + "id=\"ctoken\" value=\"".length());
ctoken = ctoken.substring(0, ctoken.indexOf("\""));
Log.warn(this, e);
throw new IOException(e.toString());
}
+ */
}
public synchronized Summary[] query(String query) {