in reply to Picture this

the example below sends the content of a given URL to a given email address
usage: <programname> <url> <email address>
#!/usr/bin/perl -w use strict; use MIME::Lite; use MIME::Lite::HTML; my $url = shift; my $to = shift; my $mail = new MIME::Lite::HTML( From => 'you@yourdomain.com', To => $to, Subject => 'your URL'); my $MimeMail = $mail->parse($url); $MimeMail->send_by_smtp('localhost');

Replies are listed 'Best First'.
RE: Re: Picture this
by tune (Curate) on Nov 09, 2000 at 20:00 UTC
    And what to do if you want to generate the content on the fly? This parsing stuff won't help.

    Note: This was not a new idea, or tease, but another question since I am also interested in the topic

    -- tune

      then look at how MIME::Lite::HTML uses MIME::Lite to build the attach...