Namaste, I want to send image in email not as attachment but in the email body only. I searched for this but couldn't find a proper working solution. Btw, I am using odoo v8!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
3
Replies
6556
Views
I found a tweak.
As most of the email providers block base64 images, so we cannot use base64. So what I did, I uploaded the image on imgur and I am accessing it through the email template. As imgur policy the image won't get deleted unless we don't access it for six months. So it works perfectly for me. I highly suggest you do this if you need to include image in email template.
Check this link , https://stackoverflow.com/questions/37054092/email-attachments-odoo-8-python
Niyas, thanks for the response but I said email body not as attachment!