From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: ANNOUNCE: webmail, a mail source for HoTMaiL
Date: 22 Nov 1999 04:51:24 -0500 [thread overview]
Message-ID: <2nhfiedfc3.fsf@tiger.jia.vnet> (raw)
[-- Attachment #1: Type: text/plain, Size: 376 bytes --]
Now gnus can grab mails from HoTMaiL. I've checked it into CVS (0.99).
Usage:
(push '(webmail :wmtype hotmail :user "your_account"
:password "top_security") mail-sources)
Known problem: HoTMaiL only accepts one line cookie, while w3
(4.0pre.46) breaks cookie into several lines and is not customizable.
The attached patch works around this problem.
--
Shenghuo
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: w3-zsh1.diff --]
[-- Type: text/x-patch, Size: 1032 bytes --]
Index: url-cookie.el
===================================================================
RCS file: /gd/gnu/anoncvsroot/w3/lisp/url-cookie.el,v
retrieving revision 1.4
diff -u -r1.4 url-cookie.el
--- url-cookie.el 1999/11/09 14:52:19 1.4
+++ url-cookie.el 1999/11/22 03:05:49
@@ -240,6 +240,10 @@
(setq retval (cons cur retval))))))
retval))
+(defvar url-cookie-multiple-line t
+ "If nil, use one line cookie.
+Some web servers, such as hotmail, only accept one line cookie.")
+
;;;###autolaod
(defun url-cookie-generate-header-lines (host path secure)
(let* ((cookies (url-cookie-retrieve host path secure))
@@ -257,7 +261,8 @@
(setq cur (car cookies)
cookies (cdr cookies)
chunk (format "%s=%s" (url-cookie-name cur) (url-cookie-value cur))
- retval (if (< 80 (+ (length retval) (length chunk) 4))
+ retval (if (and url-cookie-multiple-line
+ (< 80 (+ (length retval) (length chunk) 4)))
(concat retval "\r\nCookie: " chunk)
(if retval
(concat retval "; " chunk)
next reply other threads:[~1999-11-22 9:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-22 9:51 Shenghuo ZHU [this message]
1999-11-22 10:23 ` Hrvoje Niksic
1999-11-22 15:26 ` Shenghuo ZHU
1999-11-23 15:33 ` Hrvoje Niksic
1999-11-23 7:53 ` Shenghuo ZHU
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2nhfiedfc3.fsf@tiger.jia.vnet \
--to=zsh@cs.rochester.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).