Yeah, the mailer was handled differently in the 1.x versions.
I don't know if it will work, but try changing:
Code:
GT::Mail->send (
smtp => $CFG->{db_smtp_server},
sendmail => $CFG->{db_mail_path},
to => $IN->param($recipemail),
from => $IN->param('send_email'),
subject => $subject_line,
reply => $IN->param('send_email'),
bcc => $CFG->('admin_email'),
msg => $formatted_message,
debug => $Links::DEBUG
) or Links::fatal ("Unable to send mail: $GT::Mail::error");
If the module works the way I think it should, it will pick out the required headers, and known headers to act on, and simply create headers for the tags it doesn't know.
At any rate, this shouldn't generate 500 errors.
PUGDOGŪ Enterprises, Inc.
FAQ:
http://LinkSQL.com/FAQ Forum:
http://LinkSQL.com/forum