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

How to assign individual mail account to each user?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
11 Respostes
40962 Vistes
Avatar
kazaf

I checked Setting -> General Setting -> Configure outgoing email server.

The setting is global, that's to say, all the users will share this setting.

I have two users, one is User01,whose mail account is user01@abc.com; the other is User02, whose mail account is user02@abc.com.

And I have created two records in <configure outgoing="" email="" server="">. All the settings are correct and testing OK.

However, no matter I send mails using account User01 or User02, the sender is the same.(user01@abc.com)

I just want to do this, when user01 sends mails, the sender is user01@abc.com; when user02 sends mails, the sender is user02@abc.com;

For fetching mail, I also want to each user fetches his own mail seperately.

Who can tell me whether OE7 supports such setting? If yes, please kindly help to tell me how to set.

Thank you very much.

3
Avatar
Descartar
Avatar
assd
Best Answer

Users, emails and aliases are a little bit articulated in OpenERP 7.0

User Alias the address as sender when an user sends some message (inside or outside openerp) and is combination of user_login@alias_domain. You can set alias_domain in Settings>General Settings>

User Email Is personal email (or company official email). It's sets in user preference. Based on Receive Messages by Email setting in user preference, you will receive some/all/none notification from OpenERP and email.

User email could be

  1. same as user alias . In this case use in Receive Messages by Email>Never setting otherwise you will have a mail loop.
  2. some other email address like private email for each user. In this case is useful to set Incoming for Receive Messages by Email>Emails and Discussions settings in order to receive notification when something happens in your OpenERP installation.

Which is right choice ? I can say that option 1. looks more professional. That because user might reply to some customer using the received notification and in case you are using option 2, customer will receive an email from user's private address and the related thread will go out of control of openerp (it's using "Follower of" but I've experience on some email without "Follower of")

But if you will use option 1 you will have in openerp all user messages, maybe also his/her holidays photos, this is a policy issue !!! but again there is a more important issue related to fetching.

  • Option 1 requires to define a Incoming Mail Server for each user/address (see below). Anyway, email inbox password is personal and will change over the time out of control of openerp admin. In openerp users can't change Incoming Mail Server settings related to their account. So when a user changes his/her email pwd, he/she has to inform OpenERP admin with new password in order to change Incoming Mail Server settings .... otherwise OpenERP will break for that account.
  • If user is using some email client than his/her inbox will be downloaded somewhere and OpenERP will never see (and manage) those email
  • If user is using some webmail system, might happens that OpenERP fetches new email before than user can read it from the webmail so some of his/her new messages will be in openerp
  • If opererp is using IMAP instead POP than all messages will leaved on server but OpenERP fetches a copy of message from IMAP only for unread messages. This means that if user has read a messages before of OpenERP that OpenERP will ignore that messages. In addiction if a user will delete a message from the IMAP that message will alive in OpenERP (because is a copy)

OpenERP is able to connect to IMAP accounts but it uses like a POP Unread +Leave on Server

My opinion is that option 1 isn't really usable that's why I'm using option 2. Someone might give more explanation on this.

Receiving emails in OpenERP (FetchMail)

OpenERP fetches email from incoming server/accounts configured in Settings/Technical>Incoming Mail Servers You can configure how many Incoming Mail Servers (this mean INBOX) you want. Each for any email address you want to fetch in OpenERP. But:

Question: What can do OpenERP with those emails ?

Answer: If a fetched email is addressed to some valid OpenERP alias (as is in Settings>Technical>Email>Aliases) than that email is processed for some automated action or delivered to the related user. In 2nd case, If user preference is to receive notification than OpenERP will send a copy of fetched email to private user email address. (that's why you should use "Never" if alias and private email are same)

If fetched email is for un-existent OpenERP alias than OpenERP should ignore that email but at current time it will throw an exception and fetching will interrupt here forever (see open bug on this: When using POP server, a mail delivered to unknown/undefined alias makes fetchmail fail and stop parsing all emails: bugs.launchpad.net/openobject-addons/+bug/1104091)

So here you can:

  • Create same real email address on your mail server as is for all of your alias in OpenERP. Than define an Incoming Mail Servers (read inbox) for each real email address
  • On your mail server create a catch-all email address. Than define only one Incoming Mail Servers (read inbox) for that catch-all. OpenERP will fetch from catch-all and forward to right alias (Use an IMAP to avoid the bug mentioned above)
  • Use a mixed of above. For example use real address for users and catch-all for all other alias that OpenERP will create (like is for project, sale dept, ecc...)

Sending email with OpenERP

OpenERP will sends email for

  • System Notification: In this case company email (set it in: Settings>Companies)
  • Discussion, email received for an alias ecc... If discussion alias author's is used as sender, if it's a notification for new received email than original sender is kept.
  • A message composed by an user for some other user, some partner, or some other. In this case User Alias is used as sender.
  • A message related to some document that uses template like Sale Order sending to a customer. In this case the sender should be same as defined in the template (Settings>Technical>Emali>Template) but at current time OpenERP is ignoring email_from and reply_to settings and uses always User Alias as sender (see open bug on this: email_from in email templates ignored bugs.launchpad.net/openobject-addons/+bug/1193283)

I don't know when and why OpenERP doesn't fix mentioned issues on email system

9
Avatar
Descartar
patrick cadonau

I have the same question as "assd" has - any suggestion? any roadmap or hints/tips?

Avatar
Dale
Best Answer

Hi All

I have learned that. The email address that the recipient sees depends on who the SALES PERSON is on that object. I.e. If sales person John sends a quote then John's email address will reach the recipient however if you then want the invoice to come from Finance the sales person must be changed accordingly

0
Avatar
Descartar
Avatar
Rajith
Best Answer

Yes OE7 supports this setting using aliases.

  1. Using [Settings -> Technical -> Alias], create an Alias for the corresponding user . Fill the fields with the following values: Aliased Model : Users Owner : Select the corresponding User from the drop down

  2. Select the user for which you wish to assign the Alias using [Settings -> Users]

0
Avatar
Descartar
Freedux

Done [Settings -> Technical -> Alias] with Aliased Model Serveur POP/IMAP but can you explain more the configuration in [Settings -> Users].

Rajith

Under Settings - > Users, you need to input the alias you created for that particular user under the field "Alias". Also change the "Aliased Model" to Users instead of POP/IMAP under [Settings ->Technical -> Alias]. Let me know if it works for you.

Carlo Rossi

I'm so sorry, but I really don't understand the entire configuration process. Is there any kind of documentation regarding it? Or could you please try to explain it again? Thank you so much.

Rajith

Updated my answer.

kazaf
Autor

Hi Rajith, so sorry to give you feedback so late... I have tried as your explaination to set the aliases. And mails can be sent and received. My outgoing mail is "mail.out@test.com", and i have one user with mail account "mars.liang@test.com". When I send a mail via OpenERP, in the receipient's mail box, it shows "Mars Liang (mail.out@test.com)", this what I DON'T want. I hope that the address can be shown as "Mars Liang (mars.liang@test.com)" instead of "Mars Liang (mail.out@test.com)". If the recepient replies the mail, the mail will go to mail.out@test.com.

kazaf
Autor

If the mail goes to "mail.out@test.com", how can Mars receives the reply from the recepient? And I found that there is no module to input "out going and in coming mail server" for each indivdual users. So does it mean, OE does not support to use the Messaging Module to replace the Email Client Tools for each user?

simon

Hello Kazaf, I have the exact same issue than you. Did you found a solution ? I would like to discuss with you about it, you can contact me at simon1by1 [a] gmail. Thanks!

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
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