mirror of https://github.com/OCA/social.git
commit
95f0175da5
|
@ -32,8 +32,8 @@ class IrMailServer(models.Model):
|
||||||
email_from = mail_server.smtp_from
|
email_from = mail_server.smtp_from
|
||||||
|
|
||||||
message.replace_header("From", email_from)
|
message.replace_header("From", email_from)
|
||||||
bounce_alias = self.env["ir.config_parameter"].get_param(
|
bounce_alias = (
|
||||||
"mail.bounce.alias"
|
self.env["ir.config_parameter"].sudo().get_param("mail.bounce.alias")
|
||||||
)
|
)
|
||||||
if not bounce_alias:
|
if not bounce_alias:
|
||||||
# then, bounce handling is disabled and we want
|
# then, bounce handling is disabled and we want
|
||||||
|
|
Loading…
Reference in New Issue