I have some json encoded input for nodemailer 
(https://nodemailer.com/message/embedded-images)
where the path key is a string value which contains the base64 encoded data 
such as:

{
    html: 'Embedded image: <img src="cid:unique@nodemailer.com"/>',
    attachments: [{
        filename: 'image.png',
        path: 'data:image/png;base64,iVBORw....',
        cid: 'uni...@nodemailer.com'
    }]
}

Does an approach exist to construct a MIMEImage object with the existing
base64 string without parsing it and decoding it?

Thanks,
jlc
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to