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]