I still can't get this to work

Thats why I hate being a newbie
so I'm attaching the form page and the script

some please tell me what I'm doing wrong

Everytime I run it my browser it just says the page cannot be displayed

Thanks

----- Original Message ----- 
From: "Tim Musson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 11, 2002 10:24 PM
Subject: Re: Mail?


> Hey Bill,
> 
> My MUA believes you used Microsoft Outlook Express 6.00.2600.0000
> to write the following on Saturday, May 11, 2002 at 9:48:14 PM.
> 
> BL> I'm making a script that will sent info to a user verify.
> BL> like this
> 
> $MAIL->>datasend('.$fname'."\n");
> 
> BL> is this correct or not
> 
> BL> Also I need to know
> BL> how I can include a cc to myself
> 
> I suggest you include a bit more information...  Which module are you
> using?  Net::SMTP ? Mail::Mailer ?
> 
> might be best if you included more of the appropriate code too.
> 
> Here is something I keep on tap (I think I got most of it from TPJ).
> 
> <code>
> use Net::SMTP;
> 
> my($mh, $MailTo, $Subject, $MessageBody);
> #don't forget to set each of the above!
> 
> sub sendMail {
>     my $smtp = Net::SMTP->new("$mh");
>     $smtp->mail($MailTo); # envelope bits
>     $smtp->to($MailTo); # envelope bits
>     $smtp->data(); # Now for the message itself
>     $smtp->datasend("From: $MailTo\n");
>     $smtp->datasend("To: $MailTo\n");
>     $smtp->datasend("$Subject\n\n");
>     $smtp->datasend("$MessageBody");
>     $smtp->dataend(); # end the message
>     $smtp->quit;
> }
> </code>
> 
> -- 
> [EMAIL PROTECTED]
> MUA = TB! v1.60h (www.RitLabs.com/The_Bat)
> Windows 2000 5.0.2195 (Service Pack 2)
> You can't guard against the arbitrary!
> 
> --
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

Attachment: confirm.pl
Description: Perl program

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

Reply via email to