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)