Forum archive 2000-2006

Blake Thornton - Bizarre mail behavior

Blake Thornton - Bizarre mail behavior

by Arnold Pizer -
Number of replies: 0
inactiveTopicBizarre mail behavior topic started 4/22/2004; 4:35:12 PM
last post 4/26/2004; 6:49:26 PM
userBlake Thornton - Bizarre mail behavior  blueArrow
4/22/2004; 4:35:12 PM (reads: 864, responses: 2)

I am trying to get the questionnaire set up and working and am running into mail problems.  I think I've narrowed it down to an "ALLOW_MAIL_TO" problem.

In my answer file, I have the following command:

mail_answers_to2('blake@math.wustl.edu', "$courseName Course Evaluation");

In my debugging attempts, I added the following line:

send_mail_to('blake@math.wustl.edu','subject'=>"Testing!",'body'=>"Body!");

Finally, I should note that in my webworkCourse.ph file, I have the line:

$PG_environment{'ALLOW_MAIL_TO'} = 'blake@math.wustl.edu';

The problem is that when I run the script (by submitting the answer), I get the following error:

--------------------------------------------------------
There has been an error in creating this problem.
Please notify your instructor.

Mail is not permitted to address blake@math.wustl.edu.
Permitted addresses are specified in the courseWeBWorK.ph file.
-----------------------------------------------------------

Seems bizarre to me.  Somehow it is either not reading the webworkCourse.ph file or else ignoring it.  Any suggestions would be greatly appreciated!

Thanks!
Blake

<| Post or View Comments |>


userBlake Thornton - Re: Bizarre mail behavior  blueArrow
4/22/2004; 4:36:14 PM (reads: 1061, responses: 0)

One more thing:

My webworkCourse.ph file line is actually:

$PG_environment{'ALLOW_MAIL_TO'} = ['blake@math.wustl.edu'];

 

<| Post or View Comments |>


userZbigniew Fiedorowicz - Re: Bizarre mail behavior  blueArrow
4/26/2004; 6:49:26 PM (reads: 1058, responses: 0)
In case anyone else runs into this problem, this was due to the install_problem_grader() bug in the original WWK 1.9 distribution: http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$1944

<| Post or View Comments |>