[Dovecot] get MAIL_FETCH_UIDL_FILE_NAME after save a email

Alex Baule alexwbaule at gmail.com
Thu Sep 23 23:31:03 EEST 2010


Hi Timo...

I Try to get the name from the saved email, you said to me, to get this with
the get_special, ok... thats work.

I get the name with this:
mail_get_special(t->save_ctx->dest_mail, MAIL_FETCH_UIDL_FILE_NAME, &fname);

By i got some mistake... when i save a email that exist in the same
directory, the email is rewrited with another name, but the get_special give
me the old one name.

Have another way to get the name from a saved email, after save it ?

after this:
ret = zbox->super.transaction_commit(t, changes_r);

To get the correct name from a saved email.


More information about the dovecot mailing list