You could try doing the whole path to the module:
Module::Part2::sendmail -----Original Message----- From: Moonlit Submit [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 4:32 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Simple, Quick Syntax Question I Did, and now I get this: Software error: Undefined subroutine &main::sendmail called at members.cgi line 589. it also doesn't appear to be sending. Lisa >From: "Timothy Johnson" <[EMAIL PROTECTED]> >To: "'Moonlit Submit'" <[EMAIL PROTECTED]> >Subject: RE: Simple, Quick Syntax Question >Date: Fri, 5 Apr 2002 16:13:48 -0800 > > >Yup, Jonathan was right again. Try that semicolon. > >-----Original Message----- >From: Moonlit Submit [mailto:[EMAIL PROTECTED]] >Sent: Friday, April 05, 2002 4:19 PM >To: [EMAIL PROTECTED] >Subject: RE: Simple, Quick Syntax Question > > >Hi, >This is line 589: > >sendmail(%email) or die $Mail::Sendmail::error; > > > > > >Which is line 589? > > > >-----Original Message----- > >From: Moonlit Submit [mailto:[EMAIL PROTECTED]] > >Sent: Friday, April 05, 2002 4:10 PM > >To: [EMAIL PROTECTED] > >Subject: Simple, Quick Syntax Question > > > > > >Hi, > >I receive this error when using what's below that someone told me to use: > >syntax error at members.cgi line 589, near ") > >sendmail" > > > >Is there something I can do easily to fix it? > >Thanks,Lisa > >######################################### > >my %email = ( > > Server => 'smtp_server_name', > > To => $mlist, > > From => "$sub/$listname", > > Subject => $subject, > > Message => > > "$top_note\n" . > > '-' x 72 . > > "\n$message\n" . > > '-' x 72 . > > "\n$bot_note" > >) > >sendmail(%email) or die $Mail::Sendmail::error; > >######################################### > > > > > > > > > > > > > >_________________________________________________________________ > >Get your FREE download of MSN Explorer at >http://explorer.msn.com/intl.asp. > > > > > >-- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > >--------------------------------------------------------------------------- >----- > >This email may contain confidential and privileged > >material for the sole use of the intended recipient. > >If you are not the intended recipient, please contact > >the sender and delete all copies. > > > > >**************NEW SERVICE********************************* > >For EXCEPTIONAL Submission Services try MoonlitSubmit.com! > >**************TRIED N TRUE******************************** > >www.quickinfo247.com/1396979/FREE > >5 Million Can't Be Wrong!!! > > >ACT NOW and we'll ALSO include you in our excl >usive "Powerline" Advertising Co-op at NO COST. At SFI, we're committed >110% > >to helping you build a profitable online enterprise. Indeed! More than >830,000 SFI Affiliates from all over the world have been provided free >sales > >leads from our Powerline Co-op system! > >********$***********$************$***********$*********** > >This is NOT spam. >We are both members of the same list, and I receive emails from you. >To be removed,send an email to the list owner subject: REMOVE. >OR >send an email like this: >[EMAIL PROTECTED], subject : UNSUBSCRIBE >OR >send an email like this: >[EMAIL PROTECTED] > > > > > > > > > > > >_________________________________________________________________ >MSN Photos is the easiest way to share and print your photos: >http://photos.msn.com/support/worldwide.aspx > > >--------------------------------------------------------------------------- ----- >This email may contain confidential and privileged >material for the sole use of the intended recipient. >If you are not the intended recipient, please contact >the sender and delete all copies. **************NEW SERVICE********************************* For EXCEPTIONAL Submission Services try MoonlitSubmit.com! **************TRIED N TRUE******************************** www.quickinfo247.com/1396979/FREE 5 Million Can't Be Wrong!!! ACT NOW and we'll ALSO include you in our excl usive "Powerline" Advertising Co-op at NO COST. At SFI, we're committed 110% to helping you build a profitable online enterprise. Indeed! More than 830,000 SFI Affiliates from all over the world have been provided free sales leads from our Powerline Co-op system! ********$***********$************$***********$*********** This is NOT spam. We are both members of the same list, and I receive emails from you. To be removed,send an email to the list owner subject: REMOVE. OR send an email like this: [EMAIL PROTECTED], subject : UNSUBSCRIBE OR send an email like this: [EMAIL PROTECTED] _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -------------------------------------------------------------------------------- This email may contain confidential and privileged material for the sole use of the intended recipient. If you are not the intended recipient, please contact the sender and delete all copies. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]