On Wed, 17 Apr 2002, Bill Lyles wrote:
> How can I change this to smtp?
Bill:
Try using Mail::Mailer:
#!/usr/bin/perl -w
use Mail::Mailer;
my $To = $ARGV[0];
my $mailer = Mail::Mailer->new('smtp', 'your.smtp.host');
$mailer->open({
From => "[EMAIL PROTECTED]",
T
On Wed, 2002-04-17 at 12:41, Bill Lyles wrote:
> I have a script that I'm trying to edit to use smtp because it only calls
> for a mail program.
>
> this is the code
>
> if ($found) {
> open (MAILME, "|$mailprog -t") or &dienice("Can't access $mailprog!\n");
> print MAILME "To: $email\n";
> prin