Great... its work Now i need a header value too, i see in mail_log plugin, some functions to get headers value...
but it's a enum with some know fields. There is some function like this mail_get_special, to get a header value ? like "get_header_value(mail,"HEADERFIELD", &value);" ?? 2010/6/29 Timo Sirainen <t...@iki.fi> > On Sat, 2010-06-26 at 12:59 -0300, Alex Baule wrote: > > I use the notify plugin as a base to my plugin. > > > > So, i need the filename from the expunged mail, to use to search my other > > file to erase. > > > > What's the way to find the filename ? I thy to get by i_stream_get_name, > but > > i'm lost with the input istream to get this. > > This gives you the base filename: > > mail_get_special(mail, MAIL_FETCH_UIDL_FILE_NAME, &fname) > > >