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
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
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.
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
0
avr. 18
|
3030 | ||
|
0
déc. 16
|
3858 | ||
|
0
juil. 15
|
2914 | ||
|
2
févr. 25
|
2864 | ||
|
1
déc. 24
|
1602 |
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!