If you use Zoho as an outgoing mail server, you may encounter issues when sending emails. This happens because Odoo, by default, sends emails from the user account that is composing the email, whereas Zoho expects the emails to be sent from the account configured in the SMTP server.
While this can be resolved server-side by ensuring the From
address always matches the outgoing account, there is also a non-technical solution. This is particularly useful in cases where it is not possible to install external modules or when you need a quick workaround.
The solution involves creating an email template where the From
address is set to the same email address used to configure the outgoing SMTP server. If you have multiple outgoing mail servers, you should also set Zoho as the default for that template.
The next time you send an email from a document (e.g., Tasks), simply select the template first and then write the rest of the message.
This solution has limitations that should be considered during implementation. For example, you must be able to select an email template when sending the message.
If you would like the From
name in the email to display the name of the user writing the message, you can achieve this by formatting the email as follows: {{user.name}} <[email protected]>
.