I have a function which send images to the email
The requirements is, i have only two images the first one i need to send as a attachments and another one in the body .
Using alternative in the MIMEmultipart it sending the both images as a documents and i have tried using two multipart that is also not helping. let me know how to approach the issue and also let me know whether it is possible or not
Any idea would be appreciated
You can use HTML to embed the wanted image in the body.
Some e-mail clients interpret this still as an attachment. Maybe check, how other clients interpret your solution.
Sending images through email