procmail
[Top] [All Lists]

RE: Sending emails with attachments

2002-05-23 11:47:43
I no one able to offer me any advice on sending an email with an attachment 
please?

Ed W

-----Original Message-----
From: Edward Wildgoose 
Sent: 22 May 2002 11:09
To: procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Sending emails with attachments


I am guessing that this ought to be in the FAQ by now, however, a quick squiz 
at the archives is not turning up much so here goes:

I am building an auto-responder which should email back a file attachment to 
the sender ("image/tiff" generally).  The reply message should be a multi-part 
with a plain text section explaining that there is a file attached (otherwise 
some people think they just got a blank email....) this will be static text, 
and the attachment itself, which updates every few hours (usually a tiff format 
image file, ie content type "image/tiff")

I would be grateful for any pointers to either:

a) quick way to generate the message body ready for piping directly to sendmail
b) demo script for using mailto or similar

I am running on Linux and I am aware of the mailto program, but not sure how to 
incorporate it into a procmail script.

Many thanks

Ed W
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>