You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It can print msg as string, which includes encoded attachment MIME part, but it cannot parse/separate attachment name and data as expected.
Tested with jpg and pdf files, pdf test case stop with IO error:
Traceback (most recent call last):
File "xxx.py", line 31, in
fileob = open(attachment['name'],'wb')
IOError: [Errno 2] No such file or directory: '\\webreq\WebReqDocs\469f6b6f0571492cb5bf11ffbcc7f7c0636282076179722797.pdf'
The actual attachment file name is "__webreq_WebReqDocs_469f6b6f0571492cb5bf11ffbcc7f7c0636282076179722797.pdf"
It seems got wrong escape.
The text was updated successfully, but these errors were encountered:
It can print msg as string, which includes encoded attachment MIME part, but it cannot parse/separate attachment name and data as expected.
Tested with jpg and pdf files, pdf test case stop with IO error:
Traceback (most recent call last):
File "xxx.py", line 31, in
fileob = open(attachment['name'],'wb')
IOError: [Errno 2] No such file or directory: '\\webreq\WebReqDocs\469f6b6f0571492cb5bf11ffbcc7f7c0636282076179722797.pdf'
The actual attachment file name is "__webreq_WebReqDocs_469f6b6f0571492cb5bf11ffbcc7f7c0636282076179722797.pdf"
It seems got wrong escape.
The text was updated successfully, but these errors were encountered: