> ,---- > | `gnus-article-mime-part-function' > | For each MIME part, this function will be called with the MIME > | handle as the parameter. The function is meant to be used to allow > | users to gather information from the article (e. g., add Vcard > | info to the bbdb database) or to do actions based on parts (e. g., > | automatically save all jpegs into some directory). > | > | Here's an example function the does the latter: > | > | (defun my-save-all-jpeg-parts (handle) > | (when (equal (car (mm-handle-type handle)) "image/jpeg") > | (with-temp-buffer > | (insert (mm-get-part handle)) > | (write-region (point-min) (point-max) > | (read-file-name "Save jpeg to: "))))) > | (setq gnus-article-mime-part-function > | 'my-save-all-jpeg-parts) > | > `----
Precisely! That is what I was looking for thanks very much! Uwe _______________________________________________ info-gnus-english mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-gnus-english
