Contains all the extra but necessary content in the odoo context . it contains extra information about the configuration, setup, important topices and many more.
1.How to setup the email configuration in odoo
Email configuration is an important step when setting up your Odoo environment. It ensures smooth communication such as sending invoices, notifications, and automated emails directly from your Odoo system. In this guide, we’ll walk through the process of configuring the Outgoing Mail Server in Odoo.
Step 1: Enable Debug Mode
To access the technical settings, you’ll need to enable debug mode.
Open your Odoo instance and add ?debug=1
to the URL.
Example:
http://localhost:8069/odoo/settings?debug=1
This will allow you to see the Technical Settings menu, which is hidden in normal mode.
Step 2: Navigate to Outgoing Mail Servers
From the main Odoo dashboard:
- Go to Settings > Technical > Email > Outgoing Mail Servers.
- Click Create to add a new mail server configuration.
Step 3: Configure SMTP Settings
Fill in the details as follows (example for Gmail):
- Name: Enter a recognizable name (e.g., Gmail Server).
- Authentication: Choose
Username
Option. - Connection Encryption: Choose
SSL/TLS
. - SMTP Server:
smtp.gmail.com
- SMTP Port:
465
- Username: Your Gmail address.
- Password: The password or app-specific password (if 2FA is enabled).
Step 4: Test the Connection
After entering all details:
- Click Test Connection.
- If the configuration is correct, you’ll receive a success message confirming that Odoo can send emails using this SMTP server.
Pro Tip:
For Gmail, ensure that you have enabled App Passwords if two-factor authentication (2FA) is active on your account.
you can search app password in email or go to the url https://myaccount.google.com/apppasswords
- Always use encrypted connections (SSL/TLS) to ensure secure communication.