At 4:29 PM +0100 2/25/00, Mueller, Juergen (pro.vider GmbH iG wrote:
>Hello,
>
>I'm not quite sure if this is the right list for my question, anyway... ;-)
>
>If one wants to generate an email, the perl-code surely looks something like
>that:

I'd use Mail::Send myself.

>
>   open(MAIL,"|$mailprog -t");
>
>   print MAIL "To: info\@host.de\n";
>   print MAIL "From: $input{'absender'}\n";
>   print MAIL "Subject: Hallo Juergen\n\n";
>   print MAIL "\n";
>   print MAIL "Text der Email\n";
>   print MAIL "blabla ...\n\n";
>
>   close (MAIL);
>
>
>Questions:
>What is the code to attache a document to such a script-generated email?

In MIME::Lite. <http://search.cpan.org/search?mode=module&query=MIME%3A%3ALite>

>
>Thanks a lot.
>
>Juergen

-- 
--
Paul Schinder
[EMAIL PROTECTED]

Reply via email to