From: "Moonlit Submit" <[EMAIL PROTECTED]> > Hi, > Try the one attached. > Do you know how to write this correctly? > I want it to use mail::sender. > Thanks, > Lisa
1) Please do NOT append new unrelated questions to repplies. Send a new message with a new subject! 2) If you have a problem with some code, tell us WHAT problem. And include only as much code as necessary! > #print qq|\n|; > my %email = ( > Server => 'relay.moonlitsubmithosting.com', > To => $mlist, > From => "$sub/$listname", > Subject => $subject, > Message => > "$top_note\n" . > '-' x 72 . > "\n$message\n" . > '-' x 72 . > "\n$bot_note" > ); These do not look like parameters for Mail::Sender. There is no parameter "Server", it's "smtp". > sender(%email) or die $Mail::Sender::error; You've sent us tons of code ... but I did not find the definition of the sender() function. Also the variable is NOT $Mail::Sender::error, but $Mail::Sender::Error. Notice the capital "E"! Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]