B. Fongo wrote:
It's my first time to use sendmail. I want to my script to send a mail
to [EMAIL PROTECTED] or whoever is in the To: line. The script warns:"No
recipient name found in the header" and dies, even though there's a
recipient. I'm puzzled.
###
#
It's my first time to use sendmail. I want to my script to send a mail
to [EMAIL PROTECTED] or whoever is in the To: line. The script warns:"No
recipient name found in the header" and dies, even though there's a
recipient. I'm puzzled.
###
#!/usr/bin/perl -
> -Original Message-
> From: Bruce Ambraal [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 01, 2002 5:53 AM
> To: [EMAIL PROTECTED]
> Subject: mail::Sendmail::error
>
>
> Hi all
>
> What am I doing wrong.
>
> error.log;
> [Tue Oct 01 11:09:
Hi all
What am I doing wrong.
error.log;
[Tue Oct 01 11:09:10 2002] [error] [client 165.25.207.246] [Tue Oct 1
11:09:09 2002] c:\PROGRA~1\APACHE~1\apache\cgi-bin\start_n2.pl: Name
"mail::Sendmail::error" used only once: possible typo at
c:\PROGRA~1\APACHE~1\apache\cgi-bin\start_n2.
Hi all
what am I doing wrong.
find attach the error.log and the code
thanx in advance
Bruce
start_n2.pl
Description: Binary data
errors1.log
Description: Binary data
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> use Mail:Sendmail;
Try
use Mail::Sendmail; # Two ::, not one
-Akshay
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Dec 13, Lance Prais said:
>use Mail:Sendmail;
use Mail::Sendmail;
Notice the doubled colon.
>%mail = ( To =>'[EMAIL PROTECTED]',
>From=> 'Nobody',
>Subject => 'Error',
>Message => "my $data = for (1..21)"
> );
I don't think M
"my $data = for (1..21)"
>);
> sendmail(%mail) or die $Mail::Sendmail::error;
> print "OK. Log says:\n", $Mail::Sendmail::log;
>
> Error message:
> syntax error at email_test line 4, near "use Mail:"
> Execution of email_test aborted du
ROTECTED]',
From=> 'Nobody',
Subject => 'Error',
Message => "my $data = for (1..21)"
);
sendmail(%mail) or die $Mail::Sendmail::error;
print "OK. Log says:\n", $Mail::Sendmail::log;
Er