http://www.dehn.wustl.edu/~blake/webwork/test.pg
It is essentially the same questionaire (well, trimmed down to the essentials) that we have used for several years.
The problem loads up okay but when answers are submitted (and therefore supposed to be emailed to me), I get the following error pasted in below.
Several things I've tried
- changing the subroutine mail_answers_to2() to the subroutine mail_answers_to(). This results in an error of something with dangerous macros.
- changed install_problem_grader(~~&mailing_problem_grader) to install_problem_grader(\&mailing_problem_grader). The result here is that it appears to work but no email appears in my mailbox.
- Deleted a lot of the subroutine mailing_problem_grader, trying to just have the necessary in there (even to the point where I just have mail_answers_to2()) but this doesn't seem to lead anywhere for me either.
Any suggestions would be VERY helpful. Thank you!
Blake (Washington University)
Error messages
Can't locate object method "new" via package "Net::SMTP" (perhaps you forgot to load "Net::SMTP"?) at (eval 871) line 57.
Call stack
The information below can help locate the source of the problem.
in WeBWorK::PG::Local::new called at line 50 of /opt/webwork2/lib/WeBWorK/PG.pm
in WeBWorK::PG::new called at line 615 of /opt/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm
in WeBWorK::ContentGenerator::Problem::pre_header_initialize called at line 155 of /opt/webwork2/lib/WeBWorK/ContentGenerator.pm
in WeBWorK::ContentGenerator::go called at line 300 of /opt/webwork2/lib/WeBWorK.pm