Skip to Content
Menu
This question has been flagged
2 Replies
9376 Views

I have maintenance plugin, when there are changes made Odoo sends email to the followers of that maintenance request about the update. It is trying to send it from the email address of the user that made changes and it fails: "SMTPSenderRefused: 550 5.1.8 Sender address rejected"
How do I make that email address fixed so it will always send emails from admin's email address (specified in SMTP configuration)?

Avatar
Discard
Best Answer
  1. Activate Developer mode

  2. Go to Settings > Technical > Templates and edit the email template that is being used to send the email

  3. The "Email Configuration" tab has a "From" field. If you put an email address here, the email will be sent from that address instead of the user's email address

Avatar
Discard
Author Best Answer

Well. I did that already for welcoming and password reset emails but there is no template for update emails from maintenance module.
https://i.imgur.com/eJHkTwB.png

Avatar
Discard
Author

Users can follow maintenance requests and when someone posts a message or changes stage of that request there should be an email sent to all the followers. But I get a small red icon:

https://i.imgur.com/Oe0zU1g.png

that when clicked shows this error

https://i.imgur.com/o6g7z9b.png

I blurred emails - green one is from following user, red one is from user that changed the stage. Basically my email server won't allow sending emails on behalf of somebody without authentication. So I want to send all the email from my configured server address (that is working in case of for example emails for resetting password)

@Marcus that's what I also wanna do ? if you figured out how to do it and you still remember please tell me