Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Office 365 Mailserver with User Alias

Subscriure's

Get notified when there's activity on this post

This question has been flagged
mailmailserverazure
2 Respostes
3834 Vistes
Avatar
Michael Hofer

We would like to use Microsoft O365 as outgoing mailserver. We have followed the manual and it's working in general.

However, our O365 users have an alias and it's actually the alias which should be used within Odoo.

Example: 

Login is user@domain1.com, actual email is user@domain2.com


Odoo does not seem to allow to have a different domain in from_filter and the username in the outgoing mail server configuration.

Is there a way to solve this problem?



0
Avatar
Descartar
shubham shiroya

you can try this way:
you can follow these steps:

Login to Odoo: Log in to your Odoo instance with an administrator account.

Open User's Profile: Go to "Settings" > "Users & Companies" > "Users" and select the user for whom you want to set up an alias.

Edit User Profile: Click on the user's name to open their profile.

Email Addresses: In the user's profile, you will see a section for "Email Addresses." Here, you can add additional email addresses, including aliases. Click on "Add an item" to add a new email address.

Add Alias: Enter the desired alias email address in the "Email" field. For example, if the user's primary email is user@domain1.com and you want to use user@domain2.com as an alias, enter user@domain2.com in the "Email" field.

Set Alias as Default: By default, the first email address in the list is considered the primary email address. You can use the "Set as Default" checkbox to make the alias the default email address for outgoing emails.

Save: After adding the alias, make sure to save the changes to the user's profile.

Once you've added the alias, Odoo will use the alias email address for outgoing emails from that user's account. However, please note that Odoo might still use the primary email address in some system-generated emails or notifications.
Once you've added the alias, Odoo will use the alias email address for outgoing emails from that user's account. However, please note that Odoo might still use the primary email address in some system-generated emails or notifications.

Avatar
Michael Hofer
Autor Best Answer

I have just noticed that this has been fixed in this commit: https://github.com/odoo/odoo/commit/a4335ab1e55bb2270bb4d39dc68ac1d4a93d35bf

0
Avatar
Descartar
Avatar
shubham shiroya
Best Answer

from_filter parameter in the outgoing mail server configuration is used to restrict the allowed sender addresses. It does not necessarily need to match the actual email address that will be used as the sender. This can be used to set up aliases or a subset of domains for the allowed sender addresses.

In your case, if you want to use an alias (e.g., user@domain2.com) as the "From" address in outgoing emails while the actual login is user@domain1.com, you can do the following:

  1. Configure the Outgoing Mail Server:

    Set up the outgoing mail server with the from_filter parameter as domain2.com. This means that any email address from the domain2.com domain will be allowed as the "From" address in outgoing emails.

  2. Configure User Email:

    For each user, set the "From" email address to the alias you want (e.g., user@domain2.com). You can do this by:

    • Going to Settings > Users & Companies > Users.
    • Edit the user you want to configure.
    • In the "Access Rights" tab, scroll down to the "Email Addresses" section.
    • Add the alias email address (user@domain2.com) as an additional email.

    This way, when the user sends an email, the "From" address will be the alias address.

  3. Alias in Actual Email Sending:

    When sending an email through Odoo, ensure that you use the alias email address (user@domain2.com) as the "From" address. You can set the reply_to parameter to the user's actual email (user@domain1.com) if you want replies to go to the correct address.


0
Avatar
Descartar
Michael Hofer
Autor

Many thanks for the detailed reply, much appreciated. I have just tested this, but in the "Access Rights" tab, I don't have an "Email Addresses" tab in Odoo 16. Does this require an extra module?

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Hostinger Mail - Odoo
mail mailserver
Avatar
0
de maig 24
3203
Critical Problem: Odoo 14 auto responder loop to mails from unknown sender
mail mailserver
Avatar
0
de març 21
3824
Automatic record creation fails on incoming mails
mail mailserver
Avatar
0
de març 16
4406
where can I find openerp_mailgate.py on v8? Solved
mail mailserver
Avatar
Avatar
Avatar
2
d’ag. 15
6668
Email Issue
mail mailserver v17
Avatar
0
de jul. 24
1960
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now