in reply to PGP mail with attachment
my $ciphertext = $pgp->encrypt( Filename => $file, Recipients => $key_id, Armour => 1, );
or send an email attachment Mail::Sender
use Mail::Sender; $sender = new Mail::Sender {smtp => 'mail.yourdomain.com', from => 'your@address.com'}; $sender->MailFile({to => 'some@address.com', subject => 'Here is the file', msg => "I'm sending you the list you wanted.", file => 'filename.txt'});
I got this information in about 5 mins from doing a search on CPAN.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: PGP mail with attachment
by mkirank (Chaplain) on Nov 08, 2002 at 12:54 UTC |