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

Cannot send email out using own smtp

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
8 Respostas
50560 Visualizações
Avatar
Jessie

Hi all,

I have installed openerp-allinone-setup-7.0-latest in windows server 2008 R2.

I have configured the outgoing email servers and Test Connection. The message “Connection test succeeded! Everything seems properly set up!” but I failed to send out an email. May I know what is the problem?

Should I modify the configuration in openerp-server.conf as below?

specify the SMTP email address for sending email

email_from = False

specify the SMTP server for sending email

smtp_server = localhost

specify the SMTP port

smtp_port = 25

specify the SMTP server support SSL or not

smtp_ssl = False

specify the SMTP username for sending email

smtp_user = False

specify the SMTP password for sending email

smtp_password = False

Many thanks.

0
Avatar
Cancelar
sridhar

@ Jessie Goto Settings--> General Settings --> Configure the Outgoing Email Server --> create new--> Description: Gmail, smtp server: smtp.gmail.com, Smtp port: 465, Debugging marked, connection security: SSL/TLS, Gmail username, password, now click Test connection, result is Connection test succeeded! Everything seems properly set up! . check it.

Vaibhav

I have done this all, but still not able to go ahead, please suggest something else. I am able to see all the sent mail details in LOGS.

Avatar
Ahmed Said Mostafa Koko
Melhor resposta

check this link will help you

https://support.microsoft.com/en-us/office/pop-imap-and-smtp-settings-8361e398-8af4-4e97-b147-6c6c4ac95353

0
Avatar
Cancelar
Avatar
Christian Twinckle
Melhor resposta

In setting > technical > email > outgoing mail server :

try to configure it with :

Smtp server: smtp.gmail.com

Smtp port: 465

Connection Security: SSL/TLS

Enable debugging mode and provide your username: user@gmail.com and password.

Now save it and click Test connection.

Result: Connection test succeeded!Everything seems properly set up!

Now go to Messaging menu in and click on Compose a new message and send a message.

Hope this works :) .

Regards,

3
Avatar
Cancelar
Avatar
Justin Kintzele
Melhor resposta

I was able to get past this error by populating the "Email" field in the company information for the company I have setup. Just mouse over the company icon in the upper-left hand side and click "Edit Company data". When the company information form appears fill in an email address on the right hand side of the form. This email address field is used for the sending address when creating a new user. When creating a new user before this information has been populated a misleading error is displayed on the page that "Cannot send email: No outbound email servers are defined...", but this is not accurate. This error is displayed even when outbound SMTP servers have been configured. A full write-up of this can be found under bug 1160819.

1
Avatar
Cancelar
Sascha Pfeiffer

Thank you very much!

Avatar
Bhavin Vekariya
Melhor resposta

Helllo, @jessie


check this link will help you.

https://www.odoo.com/forum/help-1/how-to-connect-odoo-to-google-smtp-without-enabling-the-less-secure-apps-access-205557

0
Avatar
Cancelar
Avatar
sridhar
Melhor resposta

@ Jessie Goto Settings--> General Settings --> Configure the Outgoing Email Server --> create new--> Description: Gmail, smtp server: smtp.gmail.com, Smtp port: 465, Debugging marked, connection security: SSL/TLS, Gmail username, password, now click Test connection, result is Connection test succeeded! Everything seems properly set up! . check it.

0
Avatar
Cancelar
Avatar
Tim Ingalls
Melhor resposta

I fixed this for my installation. It seems that there is something broken possibly in /usr/lib/python2.7/dist-packages/openerp/addons/mail/mail_mail.py or /usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_mail_server.py that doesn't allow getting the smtp_user variable.

I saw the following error in my log file (my email addresses and domain names have been edited to make them generic):

"MailDeliveryException: (u'Mail delivery failed', u'Mail delivery failed via SMTP server \'mail.mydomain.com\'.\nSMTPRecipientsRefused: {\'myname@mydomain.com\': (550, \'Verification failed for <postmaster-odoo@mydomain.com>\\nNo Such User Here"\\nSender verify failed\')}')"

If it doesn't get the smtp_user and if the variable for mail.catchall.alias is not set (as noted in line 372 of /usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_mail_server.py), it will put in "postmaster-odoo" as the user in the from address, i.e, postmaster-odoo@mydomain.com.

So, for a work-around, I just edited /usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_mail_server.py line 379 and changed "postmaster-odoo" to "admin", since my SMTP user mail account is admin@mydomain.com. For your case, just change it to whatever the user part of the email address is. It will get the domain correctly put in there.

So, change this:

get_param = self.pool['ir.config_parameter'].get_param
        postmaster = get_param(cr, SUPERUSER_ID, 'mail.catchall.alias',
                               default='postmaster-odoo',
                               context=context,)
        domain = get_param(cr, SUPERUSER_ID, 'mail.catchall.domain', context=context)
        if postmaster and domain:
            return '%s@%s' % (postmaster, domain)


to this:

get_param = self.pool['ir.config_parameter'].get_param
        postmaster = get_param(cr, SUPERUSER_ID, 'mail.catchall.alias',
                               default='admin',
                               context=context,)
        domain = get_param(cr, SUPERUSER_ID, 'mail.catchall.domain', context=context)
        if postmaster and domain:
            return '%s@%s' % (postmaster, domain)

 I hope this solves it for someone.

0
Avatar
Cancelar
Avatar
Jessie
Autor Melhor resposta

Hi,

Thanks for help.

I successfully send an email out if compose a new message but I cannot send an invitation email (Users -> Send an invitation email). The error message is as below although i already configure the outgoing email.

Cannot send email: no outgoing email server configured. You can configure it under Settings/General Settings.

Thanks.

Regards, Jessie

-1
Avatar
Cancelar
Justin Kintzele

I am having this same problem. When I go to "General Settings" the "Configure outgoing email servers" link takes me to where I have already setup the outgoing servers, and have testing the connection successfully... But when I go to send a new user an invitation I get the same error that Jessie is getting. I do not see where else to configure/select the outgoing email server that I have defined for this company.

paras

I am facing same issue. unable to invite but am able to send messages... Please suggest..

P Mittal

Even I am facing the same problem. Connection Test succeeds when configuring SMTP (I did it with Amazon SES SMTP and then saved it), but when I try to add a user it says that no Outgoing SMTP Server is configured.

Justin Kintzele

You must populate the "Email" field in the company information form for the company you have setup in your system. The error message is misleading and should be more specific. What it should say is "There is no email address to use for the 'From:' address, please update the Email address information for your company."

Serge Segbefia

I did populate the Email field for my company but I'm still getting that misleading error, even I tested successsfully the configuration of the outgoing mail. Anyone's got another clue that can help on the case? Thanx

Serge Segbefia

I did populate the Email field for my company but I'm still getting that misleading error, even I tested successsfully the configuration of the outgoing mail. Anyone's got another clue that can help on the case? Thanx

Ahmed elbarbary

did any one find the solution for this issue ? i face the same problem and i didn't find how to fix it .

Avatar
Ahmed elbarbary
Melhor resposta

did any one find the solution of that error ? i face same problem 

-1
Avatar
Cancelar
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
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