TypeError: set_bytes_content() got an unexpected keyword argument 'main_type'
Opened this issue · 0 comments
ignaciokairuz commented
🤔 anyone got an idea? The problem is in this line right here:
msg.add_attachment(file_data,main_type='application',subtype='octet-stream',filename=file_name)