[Zope] Re: Browse E-mail with Zope and WAP/WML

Tres Seaver tseaver at zope.com
Sun Sep 12 19:53:21 EDT 2004


Segedunum wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi All,
> 
> I've been playing around with the emil email client to provide e-mail access 
> and reading via WAP/WML. Yes I know it has been unmaintained for a while 
> (2002), but 0.6.1 seems to work fine with Zope 2.6. If anyone has any better 
> suggestions, please feel free to share them. If not, I'll be looking into 
> this more closely over the next few weeks and months.
> 
> I've been playing around with e-mail access and this product for myself and 
> for a client, not least because it provides a way of getting around the 
> ludicrous restrictions UK (although not restricted to) mobile providers 
> insist on putting on access to e-mail from your mobile phone.
> 
> <potentially_useful_background_info>
> If anyone is interested, with providers such as O2 you cannot use the built in 
> phone client that comes with many phones on the various Pay as You Go 
> Tariffs. On those providers that do, you are restricted to signing up for an 
> e-mail address with *them*, and even on the (ludicrously) expensive business 
> options you are forced to send all mail through *their* smtp servers. If you 
> are in a corporate environment and you manage your own e-mail, this isn't 
> really an option. The providers try and insult you with all sorts of reasons 
> as to why this is the case, but I think we can all guess.
> </potentially_useful_background_info>
> 
> That aside, I've noticed an odd problem with login access to some DTML WML 
> based documents for viewing on a mobile. I've been experimenting with a Sony 
> Ericsson T630, and when I go to the main_wml page for viewing and put in the 
> appropriate username and password it then continually asks me for them and 
> then refuses to show it. Viewing it on a normal desktop browser such as 
> Firefox or Konqueror is absolutely fine, and viewing on the mobile without 
> authentication works fine, but this is of course, not an option.
> 
> Has anyone noticed these quirks when working with WAP devices and WML pages 
> (it's somewhat new territory for me), and how did you get around them? Any 
> hints, general tips and technical pitfalls on using Zope and WAP/WML content 
> would also be appreciated.

The WML browser may be lobotomized w.r.t. HTTP basic auth.  Does it 
honor cookies?  If so, you could probably use cookie-based 
authentication, e.g. using the CookieCrumbler product:

   http://hathawaymix.org/Software/CookieCrumbler

Tres.
-- 
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com



More information about the Zope mailing list