auto attachment

2001-09-17 Thread Johannes Zellner

Hi,

is it possible to include an attachment into mails automatically
(like a signature) ?

-- 
   Johannes



Re: auto attachment

2001-09-17 Thread David T-G

Johannes --

...and then Johannes Zellner said...
% Hi,
% 
% is it possible to include an attachment into mails automatically
% (like a signature) ?

All of the time?  Hmmm...  That's an interesting one.

A while back there was discussion of a macro, probably in vim rather
than in mutt, to scan for 'attach' in the message body and create the
relevant X-Attach: or X-Attachment: or whatever header; perhaps including
that header in your message will do it for you.  

Let's see, here...  Back in [EMAIL PROTECTED] Adam
Lazur asked if anyone had such a thing, and I haven't seen any reply.
That might be enough to get you started, though; I vaguely recall
that creating the Attach: header by hand will attach a file (yep, just
tested it).


% 
% -- 
%Johannes


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: auto attachment

2001-09-17 Thread Dan Boger

On Mon, Sep 17, 2001 at 06:46:08AM -0400, David T-G wrote:
 % is it possible to include an attachment into mails automatically
 % (like a signature) ?

 Let's see, here...  Back in [EMAIL PROTECTED] Adam
 Lazur asked if anyone had such a thing, and I haven't seen any reply.
 That might be enough to get you started, though; I vaguely recall
 that creating the Attach: header by hand will attach a file (yep, just
 tested it).

cool!  I didn't know that.  So all you need to do is add a my_hdr
Attach: /path/to/file to your .muttrc, and it'll auto-attach that file
to every message.  nice.

Mutt rocks.

-- 
Dan Boger
[EMAIL PROTECTED]

 PGP signature


Re: auto attachment

2001-09-17 Thread David T-G

Dan et al --

...and then Dan Boger said...
% On Mon, Sep 17, 2001 at 06:46:08AM -0400, David T-G wrote:
%  % is it possible to include an attachment into mails automatically
%  % (like a signature) ?
...
%  that creating the Attach: header by hand will attach a file (yep, just
%  tested it).
% 
% cool!  I didn't know that.  So all you need to do is add a my_hdr
% Attach: /path/to/file to your .muttrc, and it'll auto-attach that file
% to every message.  nice.

Ahhh...  That's it :-)  Excellent way to implement it, and even malleable
with *-hooks to boot.


% 
% Mutt rocks.

Sure does :-)


% 
% -- 
% Dan Boger
% [EMAIL PROTECTED]


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature