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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
kwi 18
|
3023 | ||
|
0
gru 16
|
3856 | ||
|
0
lip 15
|
2912 | ||
|
2
lut 25
|
2858 | ||
|
1
gru 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!