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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
3
回复
8242
查看
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.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
0
4月 18
|
3030 | ||
|
0
12月 16
|
3861 | ||
|
0
7月 15
|
2914 | ||
|
2
2月 25
|
2867 | ||
|
1
12月 24
|
1604 |
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!