Installation

Email attachment issue with uninitialized value

Email attachment issue with uninitialized value

by Tim Alderson -
Number of replies: 2

Running WW2.17 on Ubuntu 20.04

When attaching a file via "Email Instructor", the following error is reported back (and no attachment is sent).

Use of uninitialized value in multiplication (*) at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Feedback.pm line 256.

The entries in the corresponding section of the local Feedback.pm seem to be the same as those in https://github.com/openwebwork/webwork2/blob/main/lib/WeBWorK/ContentGenerator/Feedback.pm

Help would be most appreciated. Thanks.


 

In reply to Tim Alderson

Re: Email attachment issue with uninitialized value

by Glenn Rice -

I think that you need to update your configuration files.  Make sure that you have "$mail{maxAttachmentSize} = 10;" in site.conf.