procmail
[Top] [All Lists]

Re: Auto-answer with attachment

2002-08-05 07:24:37
On Sun, 4 Aug 2002, Eric Hilding wrote:

@ 
@ On Tue, 30 Jul 2002, Matthew G. Saroff wrote:
@ 
@ >    echo "--fls3jekls3=_sd3";\
@ 
@ Ooops...I'm not understanding the "--fls3jekls3=_sd3" part.
@ 
        This translates to "any unique string", that string is one that I 
pulled off an email from way back.
        The format for a multi part mime message is a header with the
following field:

Content-Type: multipart/mixed; boundary="SOME_UNIQUE_STRING"
# Followed by:
--SOME_UNIQUE_STRING
# Note the two leading dashes
# Typically followed by something like:
Content-type: TEXT/PLAIN; charset=US-ASCII
# blank line here
# Followed by the text part of the message
# followed by 
--SOME_UNIQUE_STRING
# Followed by (this an example for PDF.  If you don't know the mimetype,
# Use octet stream
Content-Type: APPLICATION/PDF; name="saroffm.pdf"
Content-Transfer-Encoding: base64"
Content-Description:
# blank line here
# the mime encoded file here
--SOME_UNIQUE_STRING
#This repeats for any number of files until the last one,
#which is terminated by 
--SOME_UNIQUE_STRING--
# Note the leading AND trailing dashes.


-- 
  Matthew Saroff  | Standard Disclaimer:  Not only do I speak for
       _____      | No one else, I don't even Speak for me.  All my 
      / o o \     | personalities and the spirits that I channel
______|_____|_____| disavow all knowledge of my activities. ;-)
   uuu   U   uuu  | 
                  | In fact, all my personalities and channeled spirits
Saroff wuz here   | hate my guts. (Well, maybe with garlic & butter...) 
For law enforcement officials monitoring the net: abortion, marijuana, 
cocaine, CIA, plutonium, ammonium nitrate, militia, DEA, NSA, PGP, hacker, 
assassinate, Osama, Al Queida, Palestinian, Daisy Cutter, 911, suicide 
bomber, Taliban, George Bush is a Twinkie, Anthrax, Uranium, Thorium.

Send suggestions for new and interesting words to: 
msaroff(_at_)123456(_dot_)pobox(_dot_)com(_dot_) (remove the numbers to reply)
Check http://www.pobox.com/~msaroff, including The Bad Hair Web Page




_______________________________________________
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>