[imapfilter-devel] print and unpack functions

John Webster jwebster at es.net
Thu May 27 20:55:59 EEST 2004


This works though. (Modified loop from sample.extend.lua file)

for msgid, msgtxt in pairs(text) do
   print( msgtxt )
end



--On Thursday, May 27, 2004 10:35:39 -0700 John Webster <jwebster at es.net> wrote:

> Imapfilter version 1.0
> 
> Does the output of print only go to debug?
> I'm doing the following, but I'm not seeing
> anything on stdout only in the debug file.
> 
> 
> jw
> 
> 
> -- filter
> toMe = {
>         'from "webster"',
> }
> 
> -- commands
> results = match(myaccount, 'INBOX', toMe)
> text = fetchheader(myaccount, 'INBOX', results)
> print( unpack (text) )
> 
> 
> 
> 



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.hellug.gr/pipermail/imapfilter-devel/attachments/20040527/66cdac05/attachment.pgp>


More information about the Imapfilter-devel mailing list