You are here: Home / Change test email address for Odoo 12

Change test email address for Odoo 12

Odoo 12's default test outbound email template attempts to send email to noreply@odoo.com. This needs to be changed to something useful in a production setup.

To change this:

/usr/lib/python3/dist-packages# grep -r noreply@odoo.com *
Binary file odoo/addons/base/models/__pycache__/ir_mail_server.cpython-36.pyc matches
odoo/addons/base/models/ir_mail_server.py: email_from, email_to = self.env.user.email, 'noreply@odoo.com'

Edit ir_mail_server.py and replace with desired email replacing noreply@odoo.com.

 

To see configuration of this via GUI (though I don't know yet if you can edit it there (don't see how currently):

Go to Development mode

Go to Settings

Then Technical > Database Structure > Models

 

 

Navigation