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
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
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.
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
0
apr. 18
|
3020 | ||
|
0
dec. 16
|
3855 | ||
|
0
jul. 15
|
2912 | ||
|
2
feb. 25
|
2855 | ||
|
1
dec. 24
|
1596 |
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!