Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Configuring email: Google works. Office 365 doesn't. SMTPDataError: 550 5.7.60 SMTP; Client does not have permissions to send as this sender

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
configurationemailsmtp
6 Respostas
54247 Visualizações
Avatar
Hamid Darabi

I am trying to configure the outgoing mail server. I tried google and it works fine but with outlook.office365.com it doesn’t work. The connection test is successful but when I send a message to a client, in mail setting I see that it was failed and I get this error message:

Mail Delivery Failed

Mail delivery failed via SMTP server 'smtp.office365.com'.

SMTPDataError: 550

5.7.60 SMTP; Client does not have permissions to send as this sender

I tried None, TLS and SSL, different port numbers (25, 465, 587, and even 993 and 995) and different URLs (outlook.office365.com and smtp.office365.com) but no luck. I read somewhere that I need to create a new connector on my exchange mail flow but I don't know what is the exact required configuration since I'm using Odoo Live.

2
Avatar
Cancelar
Hamid Darabi
Autor

I found this tutorial and configured the relay required for communication with smtp server. Guess what? new error message. smtp auth extension not supported by server

Hamid Darabi
Autor

https://technet.microsoft.com/en-us/library/dn554323(v=exchg.150).aspx

Avatar
Oleg Kuryan
Melhor resposta

Hi Guys,

I have prepared a guide on how to integrate the Odoo ERP with Office 365 mail server ( https://ventor.tech/guides/how-to-configure-emails-to-work-with-office-365-and-odoo/ ). It has been verified on many customers already, and all screenshots are from latest Odoo (11 at the moment of writing) and latest version of Office 365. 

At a glance what you should be done:

- Configure Outgoing mail Server in Office 365 as Relay Server

- Configure Catchall Email in Office 365

- Install Odoo module to inform users that they used the wrong email

- Configure Outgoing Mail Server in Odoo

- Configure Incoming Mail Server in Odoo

- Test Odoo ERP Emailing Setup

6
Avatar
Cancelar
Andrey Baklykov

Oleg,
Could you please update this instruction?
Or give someone for a paid consultation?
I seem to do everything as written, but it doesn’t work.

Oleg Kuryan

Andrey, we have updated article. Odoo 17 version have changed allowing support of multiple domains. So changing catchall alias now should be done not only in System Parameters but in Aliased Domain menu.

Avatar
Ariel Rodgers
Melhor resposta

I have had this exact same error on ODOO 9.0 since my company switched our email servers to Office 365.

We did the setup as per all above instructions and kept getting the 5.7.60 SMTP; Client does not have permissions to send as this sender error.

Tried setting up the exchange connector and direct relay to no avail.  On investigation it seems that the default mail address configured in ODOO works fine if it it the actual sender address.  When i looked at the queued failed emails i noticed that everyone of them is using an actual individual users email address as the source.  I tried in office 365 to grant send on behalf permissions to my default mail account but still got these errors.


I have now used a free SENDGRID SMTP Relay account (Sendgrid.com) for our outbound ODOO Emails and everything works correctly - Not a resolution i know but a workaround that allows us to keep our correct email address and not use a GMAIL.  Thought i would share.


2
Avatar
Cancelar
Ermin Trevisan

Using Sendgrid or any other SMTP service which allows this kind of relaying messages seems to be the only solution to this problem (this is not an Odoo-related problem, it seems to be a problem of any communication app which needs to create dynamic email aliases).

Carlos Melgar

Ariel Rodgers! Thanks for this piece of knowledge!!! Your solution regarding SENDGRID SMTP Relay works beautifully almost 4 years later!

Avatar
ebarrientos@compumatgt.com
Melhor resposta

Greetings 


I am facing a lot of problems while configuring this outlook connector, I was able to complete with outbound and now my pain is with inbound mails, please explain me how to fix the problem


I am getting an error fetchmail.server doesnt have an attribute please extend your support.

1
Avatar
Cancelar
Avatar
Daniel Meili
Melhor resposta

Is there an update on this ?

1
Avatar
Cancelar
Avatar
Vishal Mehra
Melhor resposta

Here is how I solved the problem with Office 365:

1. Setup a mailbox erp@domain.com in Office 365

2. Setup a Security Group in Office 365 postmaster-odoo@domain.com --> Add users to this group and give erp@domain.com send as privs to the account. 

3. Add mail.bounce.alias as erp

4. Add mail.catchall.domain as domain.com

5. I also added the other users in Office 365 Send As privs to erp@domain.com

6. Enabled debug mode to see what's going on by doing the following:

logfile = /var/log/odoo/odoo-server.loglog_handler = odoo.models:DEBUGlog_level = debug

7. Setup Outbound email server in Odoo using account created in Step 1. 

With these changes I was able to send outbound email using Office 365. I am going to revert Step 5 and see if it continues to work. 

Good luck!

1
Avatar
Cancelar
Avatar
Yannick Belot
Melhor resposta

I have the same problem Hamid! How did you solve it? Did you change your SMTP email provider?

1
Avatar
Cancelar
Hamid Darabi
Autor

No, I didn't. I directly contacted Odoo support and a couple of official partners. Seems like no one has done this before which I can't get over.

Hamid Darabi
Autor

This is how Odoo support responded: You need to configure office365 to allow to send messages with a different account with the one set on office365, by default it is disallowed. Maybe you could contact your email service provider to more information.

dbvieira

???? is it just me or I didnt understood what they replied ? Which account is the "account set on office 365"?

Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Why won't an email to an OpenERP user leave OpenERP?
configuration email smtp user
Avatar
0
mar. 15
4112
Custom Mail Servers, no longer connects after upgrading to 18.1 online - Version 18.1
configuration smtp
Avatar
0
mar. 25
1666
Error in Test Connection Email
configuration email
Avatar
0
jan. 25
2089
When SMTP not working, and can't login admin plane
configuration smtp
Avatar
0
dez. 24
1219
outgoing mail server not working with smtp.office365.com Resolvido
email smtp
Avatar
Avatar
Avatar
Avatar
Avatar
14
mai. 24
237316
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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