Re: [Evolution] Using filter to forward attachments



cheers();

I would appreciate help in using a filter to automatically forward
attachments. The situation is as follows: I get mail with the word
"Itinerary" in the subject; these messages usually have an attachment
which is an HTML file which contains my itinerary for a trip. I would
like to forward the message and attachment to another email account (my
personal account at home). How can I do this?

I just played around with that, but I couldn't find a solution. The only
way I can think of right now (using Evo) is passing that messages to a
shell script, that gets the whole message on STDIN, performs some
substitution (at least for the To: header) and sends that mail using
sendmail, Perl mudules, ...

But I really wonder, how many itineraries you get? ;-) It is not that
much trouble, to forward a mail...

A handy solution to automagic perform those forwards is procmail.
procmail even does that, when you do _not_ have Evo running and thus
adds additional value.

Hope, that helps a bit...

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]