Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Changing the from field of a system email sent via smtp with google workspace account authentication

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
smtpaccountgmailfromworkspace
1 Svar
3354 Visninger
Avatar
Peter Romão

In my odoo 16 CE installation my website is sending e-mails on my behalf for the purpose of system operations. I would like to avoid this.

I have a google workspace account linked to the admin user of this odoo instance.

An example: when a user of the website wants to login but forgot his password he requests a Password reset and an e-mail is sent to him with a correct reply-to field but with my user e-mail in the from field.

I have checked this in the e-mail template below:


and whatever changes I do to the

I get my user sending these e-mail because that's the account that authenticates with the SMTP gmail server.

I'd love to have these emails sent out with info@mycompany.com or similar.

How can I achieve this?

0
Avatar
Kassér
Avatar
Peter Romão
Forfatter Bedste svar

Well yes, this is achievable.

The short version of it is:

1. Create new credentials in Google API and Services for this purpose
2. Tell odoo that the new authentication is OAuth and get the new tokens and test connection in the Outgoing Mail Connections

If you're behind an ssl server beware of what you've defined for your company's domain. Use https and not only http.

If you use nginx beware of URI mismatch messages. You'll probably have to resort to use both www.yourdomain.extension as well as yourdomain.extension in the server_name variable.

Oh And do not forget to use an alias for your user in your workspace, this is important. And it will have to match with the company -email you define in odoo's company definition. NOTE: This is NOT the user's alias in the workspace users details. This is the settings in your gmail account. as in: https://mail.google.com/mail/u/0/#settings/accounts

This worked for me.


For the long version I hope to share with you a step by step version that I want to have saved in my own knowledge base.

0
Avatar
Kassér
Rick Applegate

Peter, could you provide some more details of this process? I have my credentials setup in Google API and the project/service created. I have the same/similar issue where emails sent out from other users in my odoo database will show the FROM field as USERNAME <MYEMAIL@company.com>. In other words, the from field shows the user's name, but it will have my (the admin) email address.

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

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
How to configure Outgoing Mail Servers to send emails with the address of logged in user (v17).
outgoing smtp gmail developermode
Avatar
Avatar
Avatar
Avatar
3
okt. 24
5802
connection with smtp server
smtp gmail connection odooV8
Avatar
Avatar
Avatar
2
sep. 24
21668
Google Workspace Mail Servers Broken Emails
gmail mailserver gsuite workspace
Avatar
Avatar
1
okt. 22
3198
How to Configure Outgoing Mail Server with Gmail SMTP without enabling the Less Secure Apps Access ? Løst
google email smtp gmail outgoingmailserver
Avatar
Avatar
Avatar
Avatar
4
jun. 24
35588
Jumpcloud, Odoo, and G-Suite
authentication smtp gmail enterprise 12.0
Avatar
0
apr. 19
5418
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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