This topic is locked

Email Reader Template - processInlineImages Function Error?

3/8/2024 6:31:07 PM
EmailReader template
S
salus2 author

Hi,
Just installed and configured the Email Reader Template V3 but am getting this error when calling https://phpdf.com/emailreader/getmail.php. Any ideas?
Thanks!

Retrieving body <BN0PR22MB27682C3DB4F8CCDF5DA86EBED3272@BN0PR22MB2768.namprd22.prod.outlook.com>
Saving message <BN0PR22MB27682C3DB4F8CCDF5DA86EBED3272@BN0PR22MB2768.namprd22.prod.outlook.com>

Fatal error: Uncaught Error: Attempt to modify property "Value" on null in /home/phpdf/public_html/emailreader/getmail.php:77 Stack trace: #0 {main} thrown in /home/phpdf/public_html/emailreader/getmail.php on line 77

img alt

S
salus2 author 3/8/2024

Disabling "Send Auto Reply" inserts the message in to the database nicely.

I would really like to utilize the auto reply functionality, if possible.

Thanks

D
DRCR Dev 3/8/2024

I don't use this template and wrote my own, but I'd look at the Auto Reply code. Whenever something doesn't work, I add variables to temp Sessions and print them at various points to find which line causes the error.

S
salus2 author 3/10/2024

Is it possible that the error is being caused by a call to the getMessageBody() function?

I can't find this function defined anywhere in getmail.php or in either of the included files
img alt
.