Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4921 มุมมอง

I have a template mail that I want send by email every day. I'm going to create a cron record with a function to send it but i doesn't know how send an email by code.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Refer the blog:

https://www.cybrosys.com/blog/how-to-send-email-from-code-in-odoo-17


Hope it helps

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Look at the send_welcome_email() function in base/res/res_users.py. This is a good example of sending email from code in openerp 6.1

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 25
1215
1
พ.ย. 24
2080
0
ต.ค. 23
40
0
มี.ค. 15
3521
1
ก.พ. 24
3064