Odoo Help


Send template mail from code

Francesco OpenCode
on 3/14/13, 1:33 PM 990 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.



| 5 4 8
Casablanca, Morocco
On 3/14/13, 2:33 PM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/14/13, 1:33 PM
Seen: 990 times
Last updated: 3/16/15, 8:10 AM