Odoo Help


Sending emails with sales orders or invoices

Wilfried Thuwis
on 8/3/14, 10:47 AM 2,502 views

I'm trying to send out emails, using the predefined templates in OpenERP v7, but I can't get it to work. The outgoing mailserver is defined correctly, as I'm able to send out password resets via mail. However, when I click the "send via email" button to send out a sales order or invoice, nothing happens.

I tried to add the email address of a customer in the email template (e.g. "${object.partner_id.email}" in the "To (emails)" field of the template) and even the preview of the template looks perfect. But unfortunately, no email going out...

Any help is highly appreciated.

Wilfried Thuwis
On 8/3/14, 1:26 PM

I found the solution in another post... Here it is:

The reason the mail was not sent was revealed in the openerp server logs. Turns out OpenERP uses the user's ALIAS as the FROM SMTP header and that was not a valid user/email on that system. So I changed the aliases of the users to correspond to their email address and it now works.

Emails still don't show up in Settings > Email > Emails, so to find the error, you must look at the logs.

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: 8/3/14, 10:47 AM
Seen: 2502 times
Last updated: 3/16/15, 8:10 AM