Gossamer Forum
Home : Products : DBMan : Customization :

CGI ERROR IN MASS MAILER

Quote Reply
CGI ERROR IN MASS MAILER
The following error is reported by DBman.

Error Message : fatal error: Undefined subroutine &main::html_mass_mail_success called at db.cgi line 178.

This is how line 178 is configured:

}
&html_mass_mail_success($mail_count);
}

This line is located in the sub mass_mail routine inserted into db.cgi.

Is anybody familiar with this error and knows how to correct it.



Thanks
Quote Reply
Re: [Doug Thorlakson] CGI ERROR IN MASS MAILER In reply to
I believe one of the subs was named incorrectly try making the change in this sub:

# sub html_mass_mail_success
###################################################

### sub mass_mail_success { ## chg to below
sub html_mass_mail_success {
#-----------------------------------------------

my ($message) = $_[0];

This change was posted in the following thread for future reference:

Subject Mass Mail Mod error
Posted by lhaase (Member)
Posted on 25-Jun-01

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] CGI ERROR IN MASS MAILER In reply to
Thank you for your help. It did the trick. Wink

Doug T.