This question has been flagged
2 Replies
3800 Views

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.

Avatar
Discard
Best Answer

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

Avatar
Discard