mrpostman-cvs Mailing List for MrPostman (Page 4)
Brought to you by:
chris_humphreys,
mrbook
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(100) |
Feb
(115) |
Mar
(29) |
Apr
(17) |
May
(18) |
Jun
|
Jul
(12) |
Aug
|
Sep
|
Oct
(6) |
Nov
(2) |
Dec
(10) |
2004 |
Jan
(14) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: <tp...@us...> - 2003-04-07 01:20:07
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman In directory sc8-pr-cvs1:/tmp/cvs-serv3248 Modified Files: WebMailSession.java Log Message: - Standardize the module return codes for login() method - Fix the string to search for when hotmail module login fails We now use the string for the redirect page. - PopConnection no longer just says auth failed but gives different error messages depending on the module login return code. Index: WebMailSession.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/WebMailSession.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** WebMailSession.java 9 Feb 2003 23:38:12 -0000 1.6 --- WebMailSession.java 7 Apr 2003 01:19:33 -0000 1.7 *************** *** 36,39 **** --- 36,54 ---- public static final String CVSID = "$Id$"; + // Each module + /** login success, Module is ready to accept commands. **/ + public static final int WMS_LOGIN_OK = 100; + /** login error, Either username or password is wrong. **/ + public static final int WMS_LOGIN_FAILED = -100; + /** The module was not able to correctly parse the webmail page. **/ + public static final int WMS_PAGE_STRUCTURE = -200; + /** The module had an unexpected or unusual error. **/ + public static final int WMS_MODULE_ERROR = -300; + + /** + * Login to the webmail service. + * + * @return Always return one of the WMS_* values. + **/ public abstract int login(String username, String password, boolean secure); *************** *** 70,72 **** */ public abstract void setOption(String optionName, String value); ! } \ No newline at end of file --- 85,87 ---- */ public abstract void setOption(String optionName, String value); ! } |
From: <tp...@us...> - 2003-04-07 01:20:07
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/hotmail In directory sc8-pr-cvs1:/tmp/cvs-serv3248/hotmail Modified Files: HotmailMailSession.java Log Message: - Standardize the module return codes for login() method - Fix the string to search for when hotmail module login fails We now use the string for the redirect page. - PopConnection no longer just says auth failed but gives different error messages depending on the module login return code. Index: HotmailMailSession.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/hotmail/HotmailMailSession.java,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** HotmailMailSession.java 29 Mar 2003 15:38:16 -0000 1.22 --- HotmailMailSession.java 7 Apr 2003 01:19:33 -0000 1.23 *************** *** 94,101 **** private static String startLoginPageURL = "http://www.hotmail.com/cgi-bin/login"; private static String UserAgent = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914"; - public static int INVALID_ID = -200; - public static int PAGE_STRUCTURE_CHANGED = -200; - public static int LOGIN_OK = 100; - public static int SYSTEM_ERROR = -200; /** --- 94,97 ---- *************** *** 258,262 **** if (loginURL == null) { logger.warning("Page doesn't contain any form action field!"); ! return PAGE_STRUCTURE_CHANGED; } else { logger.fine("Found login page, passport service url: " + loginURL); --- 254,258 ---- if (loginURL == null) { logger.warning("Page doesn't contain any form action field!"); ! return WebMailSession.WMS_PAGE_STRUCTURE; } else { logger.fine("Found login page, passport service url: " + loginURL); *************** *** 325,329 **** if (refreshURL == null) { logger.warning("Unable to find meta refresh after login!"); ! return PAGE_STRUCTURE_CHANGED; } --- 321,325 ---- if (refreshURL == null) { logger.warning("Unable to find meta refresh after login!"); ! return WebMailSession.WMS_PAGE_STRUCTURE; } *************** *** 354,358 **** BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream(), charset)); String line; ! Pattern signInFailure = Pattern.compile("Please re-enter your password"); Matcher inboxMatcher = null; Matcher langMatcher = null; --- 350,357 ---- BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream(), charset)); String line; ! // If user/pass invalid, it sends a page with a form action ! // to another login page. We just look for this to confirm ! // user/pass problem instead of actually doing the post. ! Pattern signInFailure = Pattern.compile("uilogin.srf"); Matcher inboxMatcher = null; Matcher langMatcher = null; *************** *** 371,375 **** if (signInFailure.matcher(line).find()) { logger.severe("ID/Password does not exist/wrong"); ! return INVALID_ID; } --- 370,374 ---- if (signInFailure.matcher(line).find()) { logger.severe("ID/Password does not exist/wrong"); ! return WebMailSession.WMS_LOGIN_FAILED; } *************** *** 431,440 **** if (numMessages > -1) { authenticated = true; ! return LOGIN_OK; } } //All other cases - we can only assume the page structure has changed! ! return PAGE_STRUCTURE_CHANGED; } --- 430,439 ---- if (numMessages > -1) { authenticated = true; ! return WebMailSession.WMS_LOGIN_OK; } } //All other cases - we can only assume the page structure has changed! ! return WebMailSession.WMS_PAGE_STRUCTURE; } *************** *** 811,815 **** HotmailMailSession hms = new HotmailMailSession(); ! if (hms.login(args[0], args[1], true) == LOGIN_OK) { System.out.println("Number of messages: " + hms.numMessages()); } --- 810,814 ---- HotmailMailSession hms = new HotmailMailSession(); ! if (hms.login(args[0], args[1], true) == WebMailSession.WMS_LOGIN_OK) { System.out.println("Number of messages: " + hms.numMessages()); } *************** *** 850,852 **** return new String("MailID=" + MailID + ", unread=" + unread + " flagged=" + flagged + " size=" + size); } ! } \ No newline at end of file --- 849,851 ---- return new String("MailID=" + MailID + ", unread=" + unread + " flagged=" + flagged + " size=" + size); } ! } |
From: <tp...@us...> - 2003-04-07 01:19:38
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/yahoo In directory sc8-pr-cvs1:/tmp/cvs-serv3248/yahoo Modified Files: YahooMailSession.java Log Message: - Standardize the module return codes for login() method - Fix the string to search for when hotmail module login fails We now use the string for the redirect page. - PopConnection no longer just says auth failed but gives different error messages depending on the module login return code. Index: YahooMailSession.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/yahoo/YahooMailSession.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** YahooMailSession.java 6 Mar 2003 23:36:21 -0000 1.12 --- YahooMailSession.java 7 Apr 2003 01:19:35 -0000 1.13 *************** *** 68,75 **** private static String UserAgent = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914"; private String crumb = null; - public static int INVALID_PASSWORD = -200; - public static int INVALID_ID = -200; - public static int NO_SSL = -100; - public static int LOGIN_OK = 100; private String baseUrl = null; private Vector messageIDS = null; --- 68,71 ---- *************** *** 135,139 **** if (invalidID.matcher(line).find()) { logger.warning("ID does not exist"); ! return INVALID_ID; } --- 131,135 ---- if (invalidID.matcher(line).find()) { logger.warning("ID does not exist"); ! return WebMailSession.WMS_LOGIN_FAILED; } *************** *** 141,145 **** if (invalidPassword.matcher(line2).find()) { logger.warning("Invalid Password"); ! return INVALID_PASSWORD; } --- 137,141 ---- if (invalidPassword.matcher(line2).find()) { logger.warning("Invalid Password"); ! return WebMailSession.WMS_LOGIN_FAILED; } *************** *** 159,163 **** } authenticated = true; ! return LOGIN_OK; } --- 155,159 ---- } authenticated = true; ! return WebMailSession.WMS_LOGIN_OK; } *************** *** 664,666 **** return new String("MailID=" + MailID + ", unread=" + unread + " flagged=" + flagged + " size=" + size); } ! } \ No newline at end of file --- 660,662 ---- return new String("MailID=" + MailID + ", unread=" + unread + " flagged=" + flagged + " size=" + size); } ! } |
From: <tp...@us...> - 2003-04-07 01:19:38
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/pop In directory sc8-pr-cvs1:/tmp/cvs-serv3248/pop Modified Files: PopConnection.java Log Message: - Standardize the module return codes for login() method - Fix the string to search for when hotmail module login fails We now use the string for the redirect page. - PopConnection no longer just says auth failed but gives different error messages depending on the module login return code. Index: PopConnection.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/pop/PopConnection.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** PopConnection.java 10 Mar 2003 00:16:01 -0000 1.12 --- PopConnection.java 7 Apr 2003 01:19:35 -0000 1.13 *************** *** 173,180 **** logger.info("Module " + wms.getModuleName() + " used for this connection"); ! if (wms.login(login, password, false) < 0) { ! sendErr("authorization failed. See ya."); return true; } sendOk("password accepted"); state = TRANSACTION; --- 173,191 ---- logger.info("Module " + wms.getModuleName() + " used for this connection"); ! switch(wms.login(login, password, false)) { ! case WebMailSession.WMS_LOGIN_OK: ! // All is good, ! break; ! case WebMailSession.WMS_LOGIN_FAILED: ! sendErr("Authorization failed. See ya."); ! return true; ! case WebMailSession.WMS_PAGE_STRUCTURE: ! sendErr("Unexpected remote webmail page structure. See ya."); ! return true; ! default: ! sendErr("Unexpected remote webmail page structure. See ya."); return true; } + sendOk("password accepted"); state = TRANSACTION; *************** *** 433,435 **** return false; } ! } \ No newline at end of file --- 444,446 ---- return false; } ! } |
From: <tp...@us...> - 2003-04-07 01:19:38
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/maildotcom In directory sc8-pr-cvs1:/tmp/cvs-serv3248/maildotcom Modified Files: MailDotComMailSession.java Log Message: - Standardize the module return codes for login() method - Fix the string to search for when hotmail module login fails We now use the string for the redirect page. - PopConnection no longer just says auth failed but gives different error messages depending on the module login return code. Index: MailDotComMailSession.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/maildotcom/MailDotComMailSession.java,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** MailDotComMailSession.java 7 Mar 2003 00:10:31 -0000 1.22 --- MailDotComMailSession.java 7 Apr 2003 01:19:33 -0000 1.23 *************** *** 70,77 **** private static String msgReadBaseURL = "http://mail01.mail.com/scripts/mail/mesg.mail?folder=INBOX&print=1&mhead=f&msg_uid="; private static String UserAgent = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914"; - public static int INVALID_PASSWORD = -200; - public static int INVALID_ID = -200; - public static int NO_SSL = -100; - public static int LOGIN_OK = 100; private static Pattern bfieldpattern = Pattern.compile("<b>(.*)</b>"); private static Pattern bbfieldpattern = Pattern.compile("<B>(.*)</B>(.*)<BR>"); --- 70,73 ---- *************** *** 122,131 **** if (invalidID.matcher(line).find()) { logger.warning("ID does not exist"); ! return INVALID_ID; } if (invalidPassword.matcher(line2).find()) { logger.warning("Invalid Password"); ! return INVALID_PASSWORD; } } --- 118,127 ---- if (invalidID.matcher(line).find()) { logger.warning("ID does not exist"); ! return WebMailSession.WMS_LOGIN_FAILED; } if (invalidPassword.matcher(line2).find()) { logger.warning("Invalid Password"); ! return WebMailSession.WMS_LOGIN_FAILED; } } *************** *** 136,140 **** if (numMessages() > -1) { authenticated = true; ! return LOGIN_OK; } --- 132,136 ---- if (numMessages() > -1) { authenticated = true; ! return WebMailSession.WMS_LOGIN_OK; } *************** *** 145,149 **** } authenticated = true; ! return LOGIN_OK; } --- 141,145 ---- } authenticated = true; ! return WebMailSession.WMS_LOGIN_OK; } *************** *** 578,582 **** MailDotComMailSession mms = new MailDotComMailSession(); ! if (mms.login(args[0], args[1], true) == LOGIN_OK) { System.out.println("Number of messages: " + mms.numMessages()); } else { --- 574,578 ---- MailDotComMailSession mms = new MailDotComMailSession(); ! if (mms.login(args[0], args[1], true) == WebMailSession.WMS_LOGIN_OK) { System.out.println("Number of messages: " + mms.numMessages()); } else { *************** *** 601,603 **** return new String("MailID=" + MailID + ", unread=" + unread + " flagged=" + flagged + " size=" + size); } ! } \ No newline at end of file --- 597,599 ---- return new String("MailID=" + MailID + ", unread=" + unread + " flagged=" + flagged + " size=" + size); } ! } |
From: <lb...@us...> - 2003-03-30 10:16:56
|
Update of /cvsroot/mrpostman/mrpostman In directory sc8-pr-cvs1:/tmp/cvs-serv29111 Modified Files: build.xml Log Message: Changed version to 1.0 RC 5 Index: build.xml =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/build.xml,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** build.xml 24 Mar 2003 01:13:17 -0000 1.18 --- build.xml 30 Mar 2003 10:16:52 -0000 1.19 *************** *** 34,38 **** <!-- set global properties for this build --> ! <property name="project.version" value="1.0 RC 4"/> <property name="src" location="src"/> <property name="build" location="build"/> --- 34,38 ---- <!-- set global properties for this build --> ! <property name="project.version" value="1.0 RC 5"/> <property name="src" location="src"/> <property name="build" location="build"/> |
From: <lb...@us...> - 2003-03-29 16:55:36
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/utils In directory sc8-pr-cvs1:/tmp/cvs-serv7725/src/org/mrbook/utils Modified Files: CvsId.java Log Message: Changed the way the revision number is extracted. Index: CvsId.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/utils/CvsId.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** CvsId.java 9 Feb 2003 23:38:17 -0000 1.8 --- CvsId.java 29 Mar 2003 16:55:26 -0000 1.9 *************** *** 51,55 **** public static Pattern pattern = Pattern.compile( "\\$" /* Keep this string separated here in two to avoid keyword substitution from CVS. */ ! + "Id: (\\p{Graph}+) ((?:(?:\\d+)\\.)+(?:\\d+)) (\\d\\d\\d\\d/\\d\\d/\\d\\d \\d\\d:\\d\\d:\\d\\d) (\\S+) (\\S+) \\$"); public String filename; public String revision; --- 51,55 ---- public static Pattern pattern = Pattern.compile( "\\$" /* Keep this string separated here in two to avoid keyword substitution from CVS. */ ! + "Id: (\\p{Graph}+) (\\S+) (\\d\\d\\d\\d/\\d\\d/\\d\\d \\d\\d:\\d\\d:\\d\\d) (\\S+) (\\S+) \\$"); public String filename; public String revision; |
From: <lb...@us...> - 2003-03-29 15:38:24
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/hotmail In directory sc8-pr-cvs1:/tmp/cvs-serv3079/src/org/mrbook/mrpostman/hotmail Modified Files: HotmailMailSession.java Log Message: Thank to Martin Webster's help, I have been able to solve a bug in the Hotmail module when people are using an account on a different domain but @hotmail.com ( for instance @msn.com ). Index: HotmailMailSession.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/hotmail/HotmailMailSession.java,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** HotmailMailSession.java 23 Mar 2003 23:39:45 -0000 1.21 --- HotmailMailSession.java 29 Mar 2003 15:38:16 -0000 1.22 *************** *** 173,177 **** //Retrieve login.asp main page and extract the passport service URLs... Pattern logInPattern = Pattern.compile("<form.*action=\"(\\S+)\".*>"); ! Pattern domainPattern = Pattern.compile("<input type=\"hidden\" Name=\"domain\" Value=\"hotmail.com\">"); Pattern hiddenRedirectFormPattern = Pattern.compile("<form.*action=\"(.*)\".*target=\"_top\">.*<input.*name=\"mspprawqs\"\\s*value=\"([^\"]*)\">.*<input.*name=\"mspppostint\"\\s*value=\"([^\"]*)\">"); --- 173,177 ---- //Retrieve login.asp main page and extract the passport service URLs... Pattern logInPattern = Pattern.compile("<form.*action=\"(\\S+)\".*>"); ! Pattern domainPattern = Pattern.compile("<input type=\"hidden\" Name=\"domain\" Value=\"(.*)\">"); Pattern hiddenRedirectFormPattern = Pattern.compile("<form.*action=\"(.*)\".*target=\"_top\">.*<input.*name=\"mspprawqs\"\\s*value=\"([^\"]*)\">.*<input.*name=\"mspppostint\"\\s*value=\"([^\"]*)\">"); *************** *** 226,230 **** domainMatcher = domainPattern.matcher(line); if (domainMatcher.find()) { ! foundCorrectLoginUrl = true; } --- 226,234 ---- domainMatcher = domainPattern.matcher(line); if (domainMatcher.find()) { ! logger.fine("For domain: " + domainMatcher.group(1)); ! if (domainMatcher.group(1).equals(username.substring(username.indexOf("@") + 1))) { ! foundCorrectLoginUrl = true; ! logger.fine("And it's the domain we want..."); ! } } *************** *** 285,289 **** URL url = new URL(completeUrl); completeUrl.replaceFirst(URLEncoder.encode(password, "UTF-8"), "********"); ! logger.fine(url.toString()); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); --- 289,293 ---- URL url = new URL(completeUrl); completeUrl.replaceFirst(URLEncoder.encode(password, "UTF-8"), "********"); ! logger.fine("Complete URL: " + url.toString()); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); *************** *** 457,461 **** try { line += ("login=" + URLEncoder.encode(username.substring(0, username.indexOf("@")), "UTF-8")); ! line += ("&domain=hotmail.com&passwd=" + URLEncoder.encode(password, "UTF-8")); line += "&sec=&mspp_shared="; } catch (Exception e) { --- 461,465 ---- try { line += ("login=" + URLEncoder.encode(username.substring(0, username.indexOf("@")), "UTF-8")); ! line += ("&domain=" + URLEncoder.encode(username.substring(username.indexOf("@") + 1), "UTF-8") + "&passwd=" + URLEncoder.encode(password, "UTF-8")); line += "&sec=&mspp_shared="; } catch (Exception e) { |
From: <lb...@us...> - 2003-03-29 15:28:05
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman In directory sc8-pr-cvs1:/tmp/cvs-serv29980/src/org/mrbook/mrpostman Modified Files: MrPostman.java Log Message: Added a few logs about the java virtual machine running the Application. Index: MrPostman.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/MrPostman.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** MrPostman.java 27 Feb 2003 05:17:55 -0000 1.16 --- MrPostman.java 29 Mar 2003 15:28:01 -0000 1.17 *************** *** 327,330 **** --- 327,332 ---- public static void main(String[] args) { logger.info("Beginning starting application"); + logger.info("Running with java version: " + System.getProperty("java.version")); + logger.info("from: " + System.getProperty("java.vendor")); MrPostman mpn = new MrPostman(); logger.info("Finished starting application"); |
From: <mr...@us...> - 2003-03-24 01:13:41
|
Update of /cvsroot/mrpostman/mrpostman In directory sc8-pr-cvs1:/tmp/cvs-serv25034 Modified Files: build.xml Log Message: updated release string to RC4 Index: build.xml =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/build.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** build.xml 11 Mar 2003 05:26:56 -0000 1.17 --- build.xml 24 Mar 2003 01:13:17 -0000 1.18 *************** *** 34,38 **** <!-- set global properties for this build --> ! <property name="project.version" value="1.0 RC 3"/> <property name="src" location="src"/> <property name="build" location="build"/> --- 34,38 ---- <!-- set global properties for this build --> ! <property name="project.version" value="1.0 RC 4"/> <property name="src" location="src"/> <property name="build" location="build"/> |
From: <chr...@us...> - 2003-03-23 23:39:48
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/hotmail In directory sc8-pr-cvs1:/tmp/cvs-serv27035 Modified Files: HotmailMailSession.java Log Message: Fixed for new login method Index: HotmailMailSession.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/hotmail/HotmailMailSession.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** HotmailMailSession.java 10 Mar 2003 00:18:10 -0000 1.20 --- HotmailMailSession.java 23 Mar 2003 23:39:45 -0000 1.21 *************** *** 32,35 **** --- 32,36 ---- import com.sonalb.net.http.HTTPRedirectHandler; import com.sonalb.net.http.cookie.CookieJar; + //import com.sonalb.net.http.cookie.Cookie; import org.mrbook.mrpostman.MailSessionException; *************** *** 38,42 **** /* ! Hotmail module (v0.5) for MyPostman. Supports retrieval of unread Inbox messages complete with attachements. --- 39,43 ---- /* ! Hotmail module (v0.6) for MyPostman. Supports retrieval of unread Inbox messages complete with attachements. *************** *** 87,94 **** new ModuleOption("hotmail.onlyunread", "true"), new ModuleOption("hotmail.markasread", "true") }; ! private static final ModuleInfo MODULE_INFO = new ModuleInfo("hotmail", AUTHORS, "0.4", "http://mrpostman.sourceforge.net/updates/hotmail", "/en/hotmail/index.html", OPTIONS); private static Logger logger = Logger.getLogger("org.mrbook.mrpostman.hotmail.HotmailMailSession"); ! private static String httpLoginPageURL = "http://lc2.law13.hotmail.passport.com/cgi-bin/login"; private static String UserAgent = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914"; public static int INVALID_ID = -200; --- 88,96 ---- new ModuleOption("hotmail.onlyunread", "true"), new ModuleOption("hotmail.markasread", "true") }; ! private static final ModuleInfo MODULE_INFO = new ModuleInfo("hotmail", AUTHORS, "0.6", "http://mrpostman.sourceforge.net/updates/hotmail", "/en/hotmail/index.html", OPTIONS); private static Logger logger = Logger.getLogger("org.mrbook.mrpostman.hotmail.HotmailMailSession"); ! //private static String startLoginPageURL = "http://www.hotmail.com"; ! private static String startLoginPageURL = "http://www.hotmail.com/cgi-bin/login"; private static String UserAgent = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914"; public static int INVALID_ID = -200; *************** *** 171,216 **** //Retrieve login.asp main page and extract the passport service URLs... Pattern logInPattern = Pattern.compile("<form.*action=\"(\\S+)\".*>"); ! Pattern ctPattern = Pattern.compile("<input type=\"hidden\" name=\"ct\" value=\"([0-9]+)\">"); ! Matcher logInMatcher = null; ! Matcher ctMatcher = null; String loginURL = null; - String ct = null; cj = new CookieJar(); try { ! URL url = new URL(httpLoginPageURL); ! HttpURLConnection conn = (HttpURLConnection) url.openConnection(); ! conn.setRequestMethod("GET"); ! conn.setRequestProperty("User-Agent", UserAgent); ! conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); ! conn.setRequestProperty("Accept", "*/*"); ! conn.setRequestProperty("Allowed", "GET HEAD PUT"); ! conn.setInstanceFollowRedirects(false); ! HTTPRedirectHandler hrh = new HTTPRedirectHandler(conn); ! hrh.setCookieJar(cj); ! hrh.connect(); ! conn = hrh.getConnection(); ! cj.addAll(hrh.getCookieJar()); ! ! BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream())); ! String line; ! while ((line = rd.readLine()) != null) { ! logger.finest("html: " + line); ! logInMatcher = logInPattern.matcher(line); ! if (logInMatcher.find()) { ! loginURL = logInMatcher.group(1); ! logger.fine("Form action url is: " + loginURL); ! } ! ctMatcher = ctPattern.matcher(line); ! if (ctMatcher.find()) { ! ct = ctMatcher.group(1); ! logger.fine("ct is: " + ct); ! } } - rd.close(); } catch (Exception e) { logger.log(Level.SEVERE, "should not happen", e); --- 173,251 ---- //Retrieve login.asp main page and extract the passport service URLs... Pattern logInPattern = Pattern.compile("<form.*action=\"(\\S+)\".*>"); ! Pattern domainPattern = Pattern.compile("<input type=\"hidden\" Name=\"domain\" Value=\"hotmail.com\">"); ! Pattern hiddenRedirectFormPattern = Pattern.compile("<form.*action=\"(.*)\".*target=\"_top\">.*<input.*name=\"mspprawqs\"\\s*value=\"([^\"]*)\">.*<input.*name=\"mspppostint\"\\s*value=\"([^\"]*)\">"); ! Matcher logInMatcher = null; ! Matcher domainMatcher = null; ! Matcher hiddenRedirectFormMatcher = null; String loginURL = null; cj = new CookieJar(); + String loginPageUrl = startLoginPageURL; + String mspprawqs = null; + String mspppostint = null; + try { ! boolean foundLoginPage = false; ! boolean foundCorrectLoginUrl = false; //flag if we have identified the correct hotmail form action url ! int attemptCount = 0; ! while (!foundLoginPage && attemptCount++ < 2) { ! URL url = new URL(loginPageUrl); ! HttpURLConnection conn = (HttpURLConnection) url.openConnection(); ! conn.setRequestMethod("GET"); ! conn.setRequestProperty("User-Agent", UserAgent); ! conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); ! conn.setRequestProperty("Accept", "*/*"); + conn.setInstanceFollowRedirects(false); + HTTPRedirectHandler hrh = null; + hrh = new HTTPRedirectHandler(conn); + hrh.setCookieJar(cj); + hrh.connect(); + conn = hrh.getConnection(); + cj.addAll(hrh.getCookieJar()); + BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream())); + String line; + + foundLoginPage = true; // unless we find a redirect we'll assume this is the correct page + + while ((line = rd.readLine()) != null) { + logger.finest("html: " + line); + + if (!foundCorrectLoginUrl) { + //Only interested in the form action which is for the hotmail domain... + logInMatcher = logInPattern.matcher(line); + if (logInMatcher.find()) { + loginURL = logInMatcher.group(1); + logger.fine("Form action url is: " + loginURL); + } + } + + domainMatcher = domainPattern.matcher(line); + if (domainMatcher.find()) { + foundCorrectLoginUrl = true; + } + + + hiddenRedirectFormMatcher = hiddenRedirectFormPattern.matcher(line); + if (hiddenRedirectFormMatcher.find()) { + logger.fine("Detected redirect form!"); + String redirectUrl = hiddenRedirectFormMatcher.group(1); + logger.fine("Redirect URL: " + redirectUrl); + mspprawqs = hiddenRedirectFormMatcher.group(2); + logger.fine("mspprawqs: " + mspprawqs); + mspppostint = hiddenRedirectFormMatcher.group(3); + logger.fine("mspppostint: " + mspppostint); + String request = "mspppostint=" + URLEncoder.encode(mspppostint) + "&mspprawqs=" + URLEncoder.encode(mspprawqs); + loginPageUrl = redirectUrl + "&" + request; + logger.fine("Redirecting to new login page: " + loginPageUrl); + foundLoginPage = false; //we need to redirect + } + + } + rd.close(); } } catch (Exception e) { logger.log(Level.SEVERE, "should not happen", e); *************** *** 220,225 **** logger.warning("Page doesn't contain any form action field!"); return PAGE_STRUCTURE_CHANGED; } ! // ** Got login url and ct - Lets perform the login. // Hotmail will send a meta-refresh url --- 255,277 ---- logger.warning("Page doesn't contain any form action field!"); return PAGE_STRUCTURE_CHANGED; + } else { + logger.fine("Found login page, passport service url: " + loginURL); } ! ! //The above page sends a cookie to us which the sonalb library fails to parse correctly. We'll simulate this ! //here by adding an equivalent cookie to our jar... ! try { ! com.sonalb.net.http.cookie.Client client = new com.sonalb.net.http.cookie.Client(); ! com.sonalb.net.http.HeaderEntry headerEntry = new com.sonalb.net.http.HeaderEntry("set-cookie", "BrowserTest=Success?"); ! com.sonalb.net.http.Header header = new com.sonalb.net.http.Header(); ! header.add(headerEntry); ! cj.addAll(client.getCookieParser().parseCookies(header, new URL(loginURL))); ! } catch (java.net.MalformedURLException mex) { ! logger.log(Level.SEVERE, "Unable to set browser test cookie (MalformedURLException): " + loginPageUrl, mex); ! } catch (com.sonalb.net.http.cookie.MalformedCookieException ce) { ! logger.log(Level.SEVERE, "Unable to set browser test cookie (MalformedCookieException): ", ce); ! } ! //done ! // ** Got login url and ct - Lets perform the login. // Hotmail will send a meta-refresh url *************** *** 228,243 **** Matcher refreshMatcher = null; String refreshURL = null; ! try { ! URL url = new URL(loginURL + "?" + createPostRequest(username, password, ct)); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); - - conn.setRequestProperty("User-Agent", UserAgent); - conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); conn.setRequestMethod("GET"); - conn.setRequestProperty("Allowed", "GET HEAD PUT"); conn.setInstanceFollowRedirects(false); HTTPRedirectHandler hrh = new HTTPRedirectHandler(conn); hrh.setCookieJar(cj); hrh.connect(); conn = hrh.getConnection(); --- 280,299 ---- Matcher refreshMatcher = null; String refreshURL = null; ! try { ! String completeUrl = loginURL + "&" + createPostRequest(username, password); ! URL url = new URL(completeUrl); ! completeUrl.replaceFirst(URLEncoder.encode(password, "UTF-8"), "********"); ! logger.fine(url.toString()); ! HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod("GET"); conn.setInstanceFollowRedirects(false); + HTTPRedirectHandler hrh = new HTTPRedirectHandler(conn); hrh.setCookieJar(cj); + conn.setRequestProperty("User-Agent", UserAgent); + conn.setRequestProperty("Content-type", "application/x-www-form-urlencoded"); + hrh.connect(); conn = hrh.getConnection(); *************** *** 247,250 **** --- 303,308 ---- String line; + logger.fine("After login request."); + while ((line = rd.readLine()) != null) { logger.finest("html: " + line); *************** *** 393,408 **** /** *Build the hotmail login url parameters - *ct is a hotmail code which is also sent in a cookie, this is used to gracefully determine if - *our browser supports cookies. */ ! private String createPostRequest(String username, String password, String ct) { String line = new String(); try { ! line += ("login=" + URLEncoder.encode(username, "UTF-8") + "&"); ! line += ("passwd=" + URLEncoder.encode(password, "UTF-8")); ! line += "&js=yes&svc=mail&mspp_shared=1&domain=hotmail.com"; ! line += "&RemoteDAPost=https://login.msnia.passport.com/ppsecure/post.asp&svc=mail&enter=Sign+In"; ! line += ("&curmbox=ACTIVE&_lang=EN&beta=0&ishotmail=1&id=2&fs=1&cb=_lang%3dEN%26country%3dUS&ct=" + ct); } catch (Exception e) { logger.log(Level.SEVERE, "should not happen", e); --- 451,462 ---- /** *Build the hotmail login url parameters */ ! private String createPostRequest(String username, String password) { String line = new String(); try { ! line += ("login=" + URLEncoder.encode(username.substring(0, username.indexOf("@")), "UTF-8")); ! line += ("&domain=hotmail.com&passwd=" + URLEncoder.encode(password, "UTF-8")); ! line += "&sec=&mspp_shared="; } catch (Exception e) { logger.log(Level.SEVERE, "should not happen", e); |
From: <mr...@us...> - 2003-03-11 05:26:59
|
Update of /cvsroot/mrpostman/mrpostman In directory sc8-pr-cvs1:/tmp/cvs-serv10214 Modified Files: build.xml Log Message: updated release string to RC3 Index: build.xml =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/build.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** build.xml 6 Mar 2003 22:28:26 -0000 1.16 --- build.xml 11 Mar 2003 05:26:56 -0000 1.17 *************** *** 34,38 **** <!-- set global properties for this build --> ! <property name="project.version" value="1.0 RC 2"/> <property name="src" location="src"/> <property name="build" location="build"/> --- 34,38 ---- <!-- set global properties for this build --> ! <property name="project.version" value="1.0 RC 3"/> <property name="src" location="src"/> <property name="build" location="build"/> |
From: <lb...@us...> - 2003-03-10 22:17:08
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui In directory sc8-pr-cvs1:/tmp/cvs-serv12270/src/org/mrbook/mrpostman/gui Modified Files: MrPostmanGui.java Log Message: Removed both user and password authentification for the proxy. Index: MrPostmanGui.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui/MrPostmanGui.java,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** MrPostmanGui.java 6 Mar 2003 19:56:04 -0000 1.17 --- MrPostmanGui.java 10 Mar 2003 22:17:01 -0000 1.18 *************** *** 51,57 **** import java.util.Properties; - import java.net.Authenticator; - import java.net.PasswordAuthentication; - import javax.swing.DefaultListModel; import javax.swing.JOptionPane; --- 51,54 ---- *************** *** 99,104 **** private javax.swing.JTextField proxyAddr; private javax.swing.JTextField proxyPort; - private javax.swing.JTextField proxyUser; - private javax.swing.JTextField proxyPassword; private javax.swing.JMenu jMenu1; --- 96,99 ---- *************** *** 195,200 **** proxyAddr = new javax.swing.JTextField(20); proxyPort = new javax.swing.JTextField(20); - proxyUser = new javax.swing.JTextField(20); - proxyPassword = new javax.swing.JPasswordField(20); setTitle(MessageUtil.getMessage("application.title")); --- 190,193 ---- *************** *** 358,395 **** proxyPanel.add(proxyPort, gridBagConstraints); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridx = 0; - gridBagConstraints.gridy = 3; - gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; - tmplabel = new javax.swing.JLabel(); - tmplabel.setText(MessageUtil.getMessage("proxy.user")); - tmplabel.setToolTipText(""); - proxyPanel.add(tmplabel, gridBagConstraints); - - proxyUser.setText(MrPostman.getMainInstance().userprefs.get("proxyUser", "")); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridx = 1; - gridBagConstraints.gridy = 3; - gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; - proxyPanel.add(proxyUser, gridBagConstraints); - - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridx = 0; - gridBagConstraints.gridy = 4; - gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; - tmplabel = new javax.swing.JLabel(); - tmplabel.setText(MessageUtil.getMessage("proxy.password")); - tmplabel.setToolTipText(""); - proxyPanel.add(tmplabel, gridBagConstraints); - - proxyPassword.setText(MrPostman.getMainInstance().userprefs.get("proxyPassword", "")); - gridBagConstraints = new java.awt.GridBagConstraints(); - gridBagConstraints.gridx = 1; - gridBagConstraints.gridy = 4; - gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; - gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; - proxyPanel.add(proxyPassword, gridBagConstraints); - jTabbedPane1.addTab(MessageUtil.getMessage("tab.proxy.title"), proxyPanel); --- 351,354 ---- *************** *** 598,603 **** MrPostman.getMainInstance().userprefs.put("proxyAddr", proxyAddr.getText()); MrPostman.getMainInstance().userprefs.put("proxyPort", proxyPort.getText()); - MrPostman.getMainInstance().userprefs.put("proxyUser", proxyUser.getText()); - MrPostman.getMainInstance().userprefs.put("proxyPassword", proxyPassword.getText()); mpn.exit(); } --- 557,560 ---- *************** *** 615,630 **** logFrame.setVisible(!(logFrame.isVisible())); } - public class SimpleAuthenticator extends Authenticator { - private String username, password; - - public SimpleAuthenticator(String username, String password) { - this.username = username; - this.password = password; - } - - protected PasswordAuthentication getPasswordAuthentication() { - return new PasswordAuthentication(username, password.toCharArray()); - } - } private void useProxyActionPerformed(java.awt.event.ItemEvent evt) { --- 572,575 ---- *************** *** 632,651 **** MrPostman.getMainInstance().userprefs.put("proxyAddr", proxyAddr.getText()); MrPostman.getMainInstance().userprefs.put("proxyPort", proxyPort.getText()); - MrPostman.getMainInstance().userprefs.put("proxyUser", proxyUser.getText()); - MrPostman.getMainInstance().userprefs.put("proxyPassword", proxyPassword.getText()); Properties systemProperties = System.getProperties(); if (evt.getStateChange() == evt.SELECTED) { systemProperties.setProperty("http.proxyHost", proxyAddr.getText()); systemProperties.setProperty("http.proxyPort", proxyPort.getText()); - if (!proxyUser.getText().equals("")) { - Authenticator.setDefault(new SimpleAuthenticator( - proxyUser.getText(), proxyPassword.getText())); - } else { - Authenticator.setDefault(null); - } } else { systemProperties.remove("http.proxyHost"); systemProperties.remove("http.proxyPort"); - Authenticator.setDefault(null); } } --- 577,587 ---- *************** *** 692,697 **** MrPostman.getMainInstance().userprefs.put("proxyAddr", proxyAddr.getText()); MrPostman.getMainInstance().userprefs.put("proxyPort", proxyPort.getText()); - MrPostman.getMainInstance().userprefs.put("proxyUser", proxyUser.getText()); - MrPostman.getMainInstance().userprefs.put("proxyPassword", proxyPassword.getText()); mpn.exit(); } --- 628,631 ---- |
From: <chr...@us...> - 2003-03-10 00:18:13
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/hotmail In directory sc8-pr-cvs1:/tmp/cvs-serv27678 Modified Files: HotmailMailSession.java Log Message: Fixed login page bug Index: HotmailMailSession.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/hotmail/HotmailMailSession.java,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** HotmailMailSession.java 6 Mar 2003 21:43:13 -0000 1.19 --- HotmailMailSession.java 10 Mar 2003 00:18:10 -0000 1.20 *************** *** 90,94 **** "http://mrpostman.sourceforge.net/updates/hotmail", "/en/hotmail/index.html", OPTIONS); private static Logger logger = Logger.getLogger("org.mrbook.mrpostman.hotmail.HotmailMailSession"); ! private static String httpLoginPageURL = "http://www.hotmail.com/"; private static String UserAgent = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914"; public static int INVALID_ID = -200; --- 90,94 ---- "http://mrpostman.sourceforge.net/updates/hotmail", "/en/hotmail/index.html", OPTIONS); private static Logger logger = Logger.getLogger("org.mrbook.mrpostman.hotmail.HotmailMailSession"); ! private static String httpLoginPageURL = "http://lc2.law13.hotmail.passport.com/cgi-bin/login"; private static String UserAgent = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914"; public static int INVALID_ID = -200; *************** *** 159,163 **** * Perform the login and retrieve the authentication cookie needed for subsequent requests. * We'll do this by: ! * 1 Retrieving the www.hotmail.com main page. * 2 Extracting the login service url (passport service) * 3 Posting a login block --- 159,163 ---- * Perform the login and retrieve the authentication cookie needed for subsequent requests. * We'll do this by: ! * 1 Retrieving the login.asp main page. * 2 Extracting the login service url (passport service) * 3 Posting a login block *************** *** 169,173 **** java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); ! //Get the url to the log in service from the main hotmail page... Pattern logInPattern = Pattern.compile("<form.*action=\"(\\S+)\".*>"); Pattern ctPattern = Pattern.compile("<input type=\"hidden\" name=\"ct\" value=\"([0-9]+)\">"); --- 169,173 ---- java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); ! //Retrieve login.asp main page and extract the passport service URLs... Pattern logInPattern = Pattern.compile("<form.*action=\"(\\S+)\".*>"); Pattern ctPattern = Pattern.compile("<input type=\"hidden\" name=\"ct\" value=\"([0-9]+)\">"); *************** *** 189,212 **** conn.setInstanceFollowRedirects(false); HTTPRedirectHandler hrh = new HTTPRedirectHandler(conn); hrh.connect(); conn = hrh.getConnection(); cj.addAll(hrh.getCookieJar()); ! BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream())); String line; ! while ((line = rd.readLine()) != null) { logger.finest("html: " + line); logInMatcher = logInPattern.matcher(line); - if (logInMatcher.find()) { loginURL = logInMatcher.group(1); ! logger.fine("Passport service (form action) url is: " + loginURL); } ctMatcher = ctPattern.matcher(line); - if (ctMatcher.find()) { ct = ctMatcher.group(1); } } rd.close(); --- 189,214 ---- conn.setInstanceFollowRedirects(false); HTTPRedirectHandler hrh = new HTTPRedirectHandler(conn); + hrh.setCookieJar(cj); hrh.connect(); conn = hrh.getConnection(); cj.addAll(hrh.getCookieJar()); ! BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream())); String line; ! while ((line = rd.readLine()) != null) { logger.finest("html: " + line); logInMatcher = logInPattern.matcher(line); if (logInMatcher.find()) { loginURL = logInMatcher.group(1); ! logger.fine("Form action url is: " + loginURL); } + ctMatcher = ctPattern.matcher(line); if (ctMatcher.find()) { ct = ctMatcher.group(1); + logger.fine("ct is: " + ct); } + } rd.close(); *************** *** 214,218 **** logger.log(Level.SEVERE, "should not happen", e); } ! if (loginURL == null) { logger.warning("Page doesn't contain any form action field!"); --- 216,220 ---- logger.log(Level.SEVERE, "should not happen", e); } ! if (loginURL == null) { logger.warning("Page doesn't contain any form action field!"); |
From: <chr...@us...> - 2003-03-10 00:16:08
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/pop In directory sc8-pr-cvs1:/tmp/cvs-serv26842 Modified Files: PopConnection.java Log Message: Removed password logging Index: PopConnection.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/pop/PopConnection.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** PopConnection.java 5 Mar 2003 01:04:00 -0000 1.11 --- PopConnection.java 10 Mar 2003 00:16:01 -0000 1.12 *************** *** 177,181 **** return true; } ! sendOk("password " + matcher.group(1) + " accepted"); state = TRANSACTION; logger.info("Logged in ok"); --- 177,181 ---- return true; } ! sendOk("password accepted"); state = TRANSACTION; logger.info("Logged in ok"); |
Update of /cvsroot/mrpostman/mrpostman/docs/html/en/outlook/images In directory sc8-pr-cvs1:/tmp/cvs-serv23469/outlook/images Added Files: image1.jpg image10.jpg image11.jpg image12.jpg image2.jpg image3.jpg image5.jpg image6.jpg image8.jpg image9.jpg Log Message: Added Outlook help --- NEW FILE: image1.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: image10.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: image11.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: image12.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: image2.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: image3.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: image5.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: image6.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: image8.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: image9.jpg --- (This appears to be a binary file; contents omitted.) |
From: <chr...@us...> - 2003-03-09 22:44:34
|
Update of /cvsroot/mrpostman/mrpostman/docs/html/en/outlook In directory sc8-pr-cvs1:/tmp/cvs-serv23469/outlook Added Files: checking.html configuring.html index.html sending.html Log Message: Added Outlook help --- NEW FILE: checking.html --- <html> <body> <h2>Checking your mail</h2> <ol><li>Ensure MrPostman is running</li> <li>Open your outlook express email client</li> <li>Choose 'Read Mail'</li> <li>You may be asked for your hotmail password if you haven't instructed Outlook to remember your password.</li> </ol> <p> Your messages should appear in your inbox. </body> </html> --- NEW FILE: configuring.html --- <html> <body> <h2>Configuring your email client for reading your Hotmail emails</h2> <p> <img src="images/image1.jpg"> <p> From the main Outlook Express page choose 'Setup a mail account'. A wizard will guide you through the steps for creating a new account. <br><br>Note: If you already have another account created this option may not be visible. In this case you can access the wizard by choosing 'Accounts' from the 'Tools menu. Then click the 'Add' button and select 'mail'. <p> <img src="images/image2.jpg"> <p> Enter your name. Click Next. <p> <img src="images/image3.jpg"> <p> Type your complete hotmail email address. Click Next. <p> <img src="images/image5.jpg"> <p> <ul><li>Choose POP3 for the incoming mail server type</li> <li>Type localhost as the Incoming Server</li> <li>Enter your SMTP server settings for outgoing mail. See <a href="sending.html">here<a/> for details. You do not need to set this up just yet if you only wish to read your emails. </ul> Click Next. <p> <img src="images/image6.jpg"> <p> <ul> <li>Enter your complete email address for the account name</li> <li>Enter your hotmail password</li> <li>Click Next.</li> <li>On last screen click Finish. The wizard will close.</li> </ul> <p> <img src="images/image8.jpg"> <p> Choose 'Accounts' from the 'Tools menu. The Internet Accounts window will open. <p> <img src="images/image9.jpg"> <p> Choose the 'Mail' tab in the popup window. Select the 'Hotmail' entry and click 'Properties'. <p> <img src="images/image10.jpg"> <p> <ul> <li>In the popup window select the 'Advanced' tab.</li> <li>Modify the Incoming Mail (POP3) port number to 11110 (from 110).</li> <li>You may also choose to select 'Leave a copy of messages on server' if you do not want your hotmail emails deleted from your hotmail inbox when collected</li> <li>Click OK. The pop up window will disappear.</li> <li>Click 'Close' to close the 'Internet Accounts' window.</li> </ul> <p> </body> </html> --- NEW FILE: index.html --- <html> <body> <h2>Configuring Outlook Express 6</h2> <ul> <li><a href="configuring.html">Configuring your email client for collecting Hotmail messages</a></li> <li><a href="checking.html">Checking your Hotmail emails</a> <li><a href="sending.html">Sending emails</a> </ul> </body> </html> --- NEW FILE: sending.html --- <html> <body> <h2>Sending email</h2> <p> Sending email is performed using an SMTP server. Your internet service provider will provide an SMTP server for your use. <p> <b>Note: MrPostman is not responsible for sending email, this is handled entirely by your email client and your service provider. MrPostman does not have to be running to send emails. These notes are here only for your convenience. Please do not email us with questions regarding sending emails - check your email client documentation or email your service provider if you have any problems sending emails! </b> <p> You will have to contact your service provider, or check their documentation for the following pieces of information: <ul> <li>Server name of their SMTP server. </li> <li>Sometimes a server port is required, if mentioned in their documentation make a note of this too. This is only needed if it is not the typical value of 25.</li> <li>Some service providers will require you to use a username and password to use their SMTP server. You will need to identify what these are. Note - these won't be your hotmail user/passwords!</li> </ul> <p> <p> <img src="images/image8.jpg"> <p> Choose 'Accounts' from the 'Tools menu. The Internet Accounts window will open. <p> <img src="images/image9.jpg"> <p> Choose the 'Mail' tab in the popup window. Select the 'Hotmail' entry and click 'Properties'. <p> <img src="images/image11.jpg"> <p> Choose the 'Servers' tab. <ul><li>Enter the Server Name of your Outgoing mail (SMTP) server.</li> <li>If you need a user name for your SMTP server, click the 'My server requires authentication' checkbox and click 'Settings'. <p> <img src="images/image12.jpg"> <p> <ul><li>Click 'Log on using'.</li> <li>Enter your account name and password.</li> <li>Click OK.</li> </ul> <br> <li>Optional: If your outgoing SMTP server is not operating on the standard port number 25 (your ISP will have told you what port to use). You may enter this on the 'Advanced' tab page under 'Outgoing mail (SMTP). <li>Click OK to close the Hotmail properties window.</li> <li>Click 'Close' to close the Internet Accounts window. </ul> <p> You should now be able to use your email client to send and reply to email messages. </body> </html> |
From: <chr...@us...> - 2003-03-09 22:44:34
|
Update of /cvsroot/mrpostman/mrpostman/docs/html/en In directory sc8-pr-cvs1:/tmp/cvs-serv23469 Modified Files: configure.html Log Message: Added Outlook help Index: configure.html =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/docs/html/en/configure.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** configure.html 10 Feb 2003 03:49:11 -0000 1.1 --- configure.html 9 Mar 2003 22:44:31 -0000 1.2 *************** *** 18,21 **** --- 18,22 ---- <ul> <li><a href="netscape7/index.html">Netscape 7 Mail (or Mozilla Mail)</a></li> + <li><a href="outlook/index.html">Outlook Express 6</a></li> </ul> </body> |
From: <chr...@us...> - 2003-03-09 22:43:30
|
Update of /cvsroot/mrpostman/mrpostman/docs/html/en/outlook/images In directory sc8-pr-cvs1:/tmp/cvs-serv23015/images Log Message: Directory /cvsroot/mrpostman/mrpostman/docs/html/en/outlook/images added to the repository |
From: <chr...@us...> - 2003-03-09 22:43:16
|
Update of /cvsroot/mrpostman/mrpostman/docs/html/en/outlook In directory sc8-pr-cvs1:/tmp/cvs-serv22878/outlook Log Message: Directory /cvsroot/mrpostman/mrpostman/docs/html/en/outlook added to the repository |
From: <lb...@us...> - 2003-03-07 22:50:56
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/utils In directory sc8-pr-cvs1:/tmp/cvs-serv29285/src/org/mrbook/utils Modified Files: CvsFormatter.java Log Message: Add the method name to the logging. Index: CvsFormatter.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/utils/CvsFormatter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CvsFormatter.java 9 Feb 2003 23:38:17 -0000 1.3 --- CvsFormatter.java 7 Mar 2003 22:50:51 -0000 1.4 *************** *** 66,70 **** buf.append(' '); buf.append(record.getLoggerName()); ! if (record.getLoggerName() != null) { if (hash == null) { --- 66,73 ---- buf.append(' '); buf.append(record.getLoggerName()); ! if (record.getSourceMethodName() != null) { ! buf.append("::"); ! buf.append(record.getSourceMethodName()); ! } if (record.getLoggerName() != null) { if (hash == null) { |
From: <lb...@us...> - 2003-03-07 22:02:14
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui In directory sc8-pr-cvs1:/tmp/cvs-serv8076/src/org/mrbook/mrpostman/gui Modified Files: messages_fr.properties Log Message: French translation was not quite making sense... Index: messages_fr.properties =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/gui/messages_fr.properties,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** messages_fr.properties 6 Mar 2003 19:03:28 -0000 1.8 --- messages_fr.properties 7 Mar 2003 22:02:10 -0000 1.9 *************** *** 51,57 **** #Module option messages... ! modules.hotmail.option.unread.label=Non-lus modules.hotmail.option.unread.desc=Lire les messages non-lus ! modules.hotmail.option.markread.label=lus modules.hotmail.option.markread.desc=Marquer les messages téléchargés comme lus. --- 51,57 ---- #Module option messages... ! modules.hotmail.option.unread.label=Lire les Non-lus modules.hotmail.option.unread.desc=Lire les messages non-lus ! modules.hotmail.option.markread.label=marquer comme lus modules.hotmail.option.markread.desc=Marquer les messages téléchargés comme lus. |
From: <lb...@us...> - 2003-03-07 21:37:48
|
Update of /cvsroot/mrpostman/mrpostman/install/win32 In directory sc8-pr-cvs1:/tmp/cvs-serv28710/install/win32 Modified Files: install.xml Log Message: Added the logging.properties file to standard installer. Useful for debugging. Index: install.xml =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/install/win32/install.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** install.xml 6 Mar 2003 22:28:28 -0000 1.3 --- install.xml 7 Mar 2003 21:37:21 -0000 1.4 *************** *** 90,93 **** --- 90,94 ---- <file src="install/win32/mrpostman.ico" targetdir="$INSTALL_PATH"/> <file src="install/win32/uninstall.ico" targetdir="$INSTALL_PATH"/> + <file src="logging.properties" targetdir="$INSTALL_PATH"/> </pack> </packs> |
From: <mr...@us...> - 2003-03-07 00:10:34
|
Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/maildotcom In directory sc8-pr-cvs1:/tmp/cvs-serv17867/src/org/mrbook/mrpostman/maildotcom Modified Files: MailDotComMailSession.java Log Message: - Updated yahoo module documentation. - Added all the available domains for maildotcom Index: MailDotComMailSession.java =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/maildotcom/MailDotComMailSession.java,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** MailDotComMailSession.java 17 Feb 2003 22:38:11 -0000 1.21 --- MailDotComMailSession.java 7 Mar 2003 00:10:31 -0000 1.22 *************** *** 527,531 **** public String[] getRecognizedExtensions() { ! String[] extensions = {"@mail.com", "@earthling.net"}; return extensions; } --- 527,557 ---- public String[] getRecognizedExtensions() { ! String[] extensions = {"@mail.com", ! "@earthling.net", "@email.com", "@iname.com", "@cheerful.com", ! "@consultant.com", "@europe.com", "@europe.com", "@mindless.com", ! "@myself.com", "@post.com", "@techie.com", "@usa.com", ! "@writeme.com", "@2die4.com", "@artlover.com", "@bikerider.com", ! "@catlover.com", "@cliffhanger.com", "@cutey.com", "@doglover.com", ! "@gardener.com", "@hot-shot.com", "@inorbit.com", "@loveable.com", ! "@mad.scientist.com", "@playful.com", "@poetic.com", "@popstar.com", ! "@saintly.com", "@seductive.com", "@soon.com", "@whoever.com", ! "@winning.com", "@witty.com", "@yours.com", "@africamail.com", ! "@arcticmail.com", "@asia.com", "@australiamail.com", "@europe.com", ! "@japan.com", "@samerica.com", "@usa.com", "@berlin.com", ! "@dublin.com", "@london.com", "@madrid.com", "@moscowmail.com", ! "@munich.com", "@nycmail.com", "@paris.com", "@rome.com", ! "@sanfranmail.com", "@singapore.com", "@tokyo.com", ! "@accountant.com", "@adexec.com", "@allergist.com", "@alumnidirector.com", ! "@archaeologist.com", "@chemist.com", "@clerk.com", "@columnist.com", ! "@comic.com", "@consultant.com", "@counsellor.com", "@deliveryman.com", ! "@doctor.com", "@dr.com", "@engineer.com", "@execs.com", ! "@financier.com", "@geologist.com", "@graphic-designer.com", "@hairdresser.net", ! "@insurer.com", "@journalist.com", "@lawyer.com", "@legislator.com", ! "@lobbyist.com", "@minister.com", "@musician.org", "@optician.com", ! "@pediatrician.com", "@presidency.com", "@priest.com", "@programmer.net", ! "@publicist.com", "@realtyagent.com", "@registerednurses.com", "@repairman.com", ! "@representative.com", "@rescueteam.com", "@scientist.com", "@sociologist.com", ! "@teacher.com", "@techie.com", "@umpire.com" ! }; return extensions; } |
From: <mr...@us...> - 2003-03-07 00:10:33
|
Update of /cvsroot/mrpostman/mrpostman/docs/html/en/yahoo In directory sc8-pr-cvs1:/tmp/cvs-serv17867/docs/html/en/yahoo Modified Files: index.html Log Message: - Updated yahoo module documentation. - Added all the available domains for maildotcom Index: index.html =================================================================== RCS file: /cvsroot/mrpostman/mrpostman/docs/html/en/yahoo/index.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.html 11 Feb 2003 01:48:50 -0000 1.2 --- index.html 7 Mar 2003 00:10:31 -0000 1.3 *************** *** 24,27 **** --- 24,28 ---- <li>Check the number of <b>unread</b> messages</li> <li>Retrieve the unread messages and mark them as read on yahoo.com</li> + <li>The module will not delete the retrieved messages if your POP client is set to leave messages on server</li> </ul> *************** *** 34,38 **** <ul> <li>All communications are unencrypted HTTP.</li> - <li>It does not delete messages.</li> </ul> --- 35,38 ---- |