Replies: 1 comment
-
I have a very similar issue, I am trying to attach a file coming from an azure blob storage, my first step was trying to attach a local file and I got stuck. I even tried to instantiate SpooledTemporaryFile() tf = tempfile.SpooledTemporaryFile() the following prints give the exact same results as It is extremely frustrating to debug as the error goes completely silent, you just receive an email without any attachment |
Beta Was this translation helpful? Give feedback.
-
Hi,
I was wondering if anyone could possibly help me with this. I am trying to send attachment from disk (not form an Uploaded File). If I try this, the api returns error
instance of UploadFile expected (type=type_error.arbitrary_type; expected_arbitrary_type=UploadFile)
As you can see, i was trying to simply pass a file in a list of attachments. This is the offending code:
the full error trace is:
Beta Was this translation helpful? Give feedback.
All reactions