Hi Tim

Thanks for helping out ....

>r>     $fh = $msg->open;               # some default mailer
>r>     # $fh = $msg->open('sendmail'); # explicit
>
>I am guessing this is where your problem is.  It looks like the above
>is specifying the MTA to deliver the message.  What are you setting it
>to?  Guessing it would be something like smtp.server.com
>
>r>     print $fh "Body of message";
>
>r>     $fh->close;         # complete the message and send it
>
>r>     $fh->cancel;        # not yet implemented
>

I guess thats the question... I tried to pass it smtp.validserver.com

eg  $fh = $msg->open('smtp.validserver.com');

Warning: Use of "require" without parens is ambiguous at (eval 1) line 1.
Bareword "validserver" not allowed while "strict subs" in use at (eval 
1) line 1.
Bareword "com" not allowed while "strict subs" in use at (eval 1) line 1.

Ive tried
eg  $fh = $msg->open('smtp');

I understand what your saying that its looking for a valid smtp server 
but it seems like it wants a mail program

if I use
$fh = $msg->open('mail');

C:\1myperl>amail.pl
No mailer type specified (and no default available), thus can not find executable 
program. at F:/Perl/site/lib/
Mail/Send.pm line 52

It looks like my "executable" mail types are in

 F:\Perl\site\lib\Mail\Mailer>
r> mail.pm
r> qmail.pm
r> rfc822.pm
r> sendmail.pm
r> smtp.pm
r> test.pm

But I dont know how to hook them up???

thanks
rob

-- 
Those who would become Rocket Scientists should first master Common 
Sense... '



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to