Python | Getting Proxy error: System.Drawing.Image.FromStream while converting .eml file to pst

Hi,

I am getting error Proxy error: System.Drawing.Image.FromStream while converting mapi eml file to pst format.

Using Aspose for Python Aspose.Email_for_Python_via_NET_rebuild-20.2.1-py3-none-any.whl

If this error is known can I get a sample .eml files so I can repro this issue ?
Also due to which data in eml files this issue occurs ?

Hello @TejasA,

Can you send us a code example you are using? Thanks.

Code snippet.

from aspose.email import MailMessage
from aspose.email.mime import HeaderCollection
import aspose.email.mapi.msg as msg
from aspose.email.mapi import MapiMessage, MapiContact
from aspose.email.personalinfo.vcard import VCardContact

def run():

	#dataDir = "Data/"
	#ExStart: LoadingContactFromVCardWithSpecifiedEncoding
	mailReadFromFile = MapiMessage.from_mail_message(MailMessage.load("test.eml"))
	#ExEnd: LoadingContactFromVCardWithSpecifiedEncoding
	
if __name__ == '__main__':
    run()

I don’t have access to the .eml file.

Can you tell me due to which data in mail this issue occurs ?

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): EMAILNET-40939

You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.