Blame README.demos

Packit 929163
The bin directory contains some demos to show the use of the Mail library
Packit 929163
Packit 929163
To make these demos first type
Packit 929163
Packit 929163
 perl Makefile.PL
Packit 929163
 make
Packit 929163
Packit 929163
replyto_demo/forwd_demo/send_demo
Packit 929163
Packit 929163
these demos will not be installed by make install and will directly
Packit 929163
reference the source directory.
Packit 929163
Packit 929163
With a few small modifications these scripts can be made to use the
Packit 929163
installed files and can be of general use. In fact these are very close
Packit 929163
copies of the scripts I use to send/forward/reply to mail.
Packit 929163
Packit 929163
Each of the scripts except an Internet message as input.
Packit 929163
Packit 929163
forwd_demo & rplyto_demo both read ~/.mailhdr as an empty header template
Packit 929163
for the new mail. Mine looks like
Packit 929163
Packit 929163
--%<----%<----%<----%<----%<----%<----%<--
Packit 929163
To:
Packit 929163
Cc:
Packit 929163
Bcc: [my email address]
Packit 929163
Newsgroups:
Packit 929163
In-Reply-To:
Packit 929163
References:
Packit 929163
Reply-To: [my email address]
Packit 929163
From: [my email address]
Packit 929163
Subject:
Packit 929163
--%<----%<----%<----%<----%<----%<----%<--
Packit 929163
Packit 929163
Any addresses that are included on the Bcc line above will be excluded from
Packit 929163
appearing on either the To or Cc lines.
Packit 929163
Packit 929163
forwd_demo:
Packit 929163
Packit 929163
   This creates a file under /tmp which contains an Internet message
Packit 929163
   with empty headers and the input message included in the body.
Packit 929163
Packit 929163
rplyto_demo:
Packit 929163
Packit 929163
   This creates a file under /tmp which contains an Internet message
Packit 929163
   with headers filled in to send the message to all people who originally
Packit 929163
   received the message and the input message quoted in the body.
Packit 929163
Packit 929163
send_demo:
Packit 929163
Packit 929163
   This takes an Internet message as input and uses sendmail to send
Packit 929163
   the message.  It also allows the user to defined aliases in their
Packit 929163
   ~/.mailrc file in the same format as would be expected by binmail
Packit 929163
Packit 929163
       alias name expansion
Packit 929163
Packit 929163
   If you have News::NNTPClient installed then this script can also be
Packit 929163
   used to post to a newsgroup by adding a Newsgroups: line into the
Packit 929163
   header and passing a -post option on the cmdline.
Packit 929163