Hi all,
I’m sending an email attachment using the Email service and getting:
anvil.server.InternalError: Internal server error: e26a46f97837
at /downlink/anvil/_threaded_server.py, line 295
called from /downlink/anvil/server.py, line 35
called from /downlink/anvil/email.py, line 17
called from ServerModule1, line 42
called from Form1, line 17
the code to send the email is:
anvil.email.send(from_name="Attendance Application",
to='my_email@gmail.com',
subject='test',
text='test',
attachments=[anvil.BlobMedia("text/plain", "Text file contents")])
This works without the attachment.
Any help is appreciated.