i have this external method called Imap_methods. Why zope refused to pass
'[EMAIL PROTECTED]' string to my method. Is there something wrong with my
syntax. 


        <dtml-in Imap_methods('[EMAIL PROTECTED]')>
   
                ... do my stuff here ....
                (question 2)
        
        </dtml-in>

results following error message

Error Type: KeyError
           Error Value: Imap_methods('[EMAIL PROTECTED]')

Traceback (innermost last):
  File C:\Boothill\lib\python\ZPublisher\Publish.py, line 214, in
publish_module
  File C:\Boothill\lib\python\ZPublisher\Publish.py, line 179, in publish
  File C:\Boothill\lib\python\Zope\__init__.py, line 202, in
zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File C:\Boothill\lib\python\ZPublisher\Publish.py, line 165, in publish
  File C:\Boothill\lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: email_headers)
  File C:\Boothill\lib\python\ZPublisher\Publish.py, line 102, in
call_object
    (Object: email_headers)
  File C:\Boothill\lib\python\OFS\DTMLDocument.py, line 166, in __call__
    (Object: email_headers)
  File C:\Boothill\lib\python\DocumentTemplate\DT_String.py, line 502, in
__call__
    (Object: email_headers)
  File C:\Boothill\lib\python\DocumentTemplate\DT_In.py, line 630, in
renderwob
    (Object: Imap_methods('[EMAIL PROTECTED]'))
KeyError: (see above)


question 2:
Whats is best way to return following tuples from that method
        
        tuple formation:
        [index,[from,to,subject,date]]

and sequence them to table between <TD> tags.

        jarkkov


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to