What I’m trying to do:
I have some reports for an in house app I’ve built that are sent via a background task via our SMTP server. Our SMTP connection is successful, but I’m getting the following error when my background tasks run or I run the code as a server function:
anvil.server.InternalError: Internal server error: 8e006d6bf937
at /downlink-sources/latest/anvil/_threaded_server.py, line 518
called from /downlink-sources/latest/anvil/server.py, line 68
called from /downlink-sources/latest/anvil/email.py, line 44
called from Automation, line 105
called from /downlink-sources/latest/anvil/_threaded_server.py, line 191
Any insight here is welcome! If it’s helpful, we use sendgrid for our SMTP server.